From 3c3bf8ec0d790784ef1c931c16551f2b59ec9c13 Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Tue, 3 Mar 2026 12:49:18 +0100 Subject: [PATCH 1/2] remove Inbox from preloaded screens --- Mobile-Expensify | 2 +- .../Navigation/AppNavigator/usePreloadFullScreenNavigators.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mobile-Expensify b/Mobile-Expensify index b2bae8ae34b2..cd0032699469 160000 --- a/Mobile-Expensify +++ b/Mobile-Expensify @@ -1 +1 @@ -Subproject commit b2bae8ae34b2c4169bd741d4ea9d68083f650afa +Subproject commit cd0032699469421664bf6c552d1a81e8253a88c8 diff --git a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts index 8c1adcde02e7..d3708bd4f953 100644 --- a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts +++ b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts @@ -25,7 +25,7 @@ import {getPreservedNavigatorState} from './createSplitNavigator/usePreserveNavi 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]; +const TABS_TO_PRELOAD = [NAVIGATION_TABS.WORKSPACES, NAVIGATION_TABS.SETTINGS]; function preloadWorkspacesTab(navigation: PlatformStackNavigationProp) { const state = getWorkspacesTabStateFromSessionStorage() ?? navigation.getState(); From bc5e14c02957517bcf9d697d167a9d275c6b8e17 Mon Sep 17 00:00:00 2001 From: Tomasz Misiukiewicz Date: Wed, 4 Mar 2026 09:06:29 +0100 Subject: [PATCH 2/2] update comment --- .../Navigation/AppNavigator/usePreloadFullScreenNavigators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts index 1d119285793a..8f052fb19194 100644 --- a/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts +++ b/src/libs/Navigation/AppNavigator/usePreloadFullScreenNavigators.ts @@ -24,7 +24,7 @@ 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. +// 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) {