diff --git a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts index ca424767b0ca..8f052fb19194 100644 --- a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts +++ b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts @@ -24,8 +24,8 @@ import {getPreservedNavigatorState} from './createSplitNavigator/usePreserveNavi // This timing is used to call the preload function after a tab change, when the initial tab screen has already been rendered. const TIMING_TO_CALL_PRELOAD = 1000; -// Currently the Inbox, Workspaces and Account tabs are preloaded, while Search is not preloaded due to its potential complexity. -const TABS_TO_PRELOAD = [NAVIGATION_TABS.INBOX, NAVIGATION_TABS.WORKSPACES, NAVIGATION_TABS.SETTINGS]; +// Currently the Workspaces and Account tabs are preloaded, while Search and Inbox are not preloaded due to their potential complexity. +const TABS_TO_PRELOAD = [NAVIGATION_TABS.WORKSPACES, NAVIGATION_TABS.SETTINGS]; function preloadWorkspacesTab(navigation: PlatformStackNavigationProp) { const state = getWorkspacesTabStateFromSessionStorage() ?? navigation.getState();