From 3c6a0e62c2fd2dc8020a3265ddb56eb16959b776 Mon Sep 17 00:00:00 2001 From: Jack Nam <30609178+thienlnam@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:13:56 -0700 Subject: [PATCH] Merge pull request #41244 from Expensify/srikar-educationTrackDistorted [CP Staging] Add 300ms timeout between RHP and Training Video (cherry picked from commit 4da18e040ca74703b9e79e53bf49b726ff114223) --- .../sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx index 428b0d52b6f5..0d0908a1ff9c 100644 --- a/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx +++ b/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx @@ -323,7 +323,9 @@ function FloatingActionButtonAndPopover( ), ); if (!hasSeenTrackTraining && !isOffline) { - Navigation.navigate(ROUTES.TRACK_TRAINING_MODAL); + setTimeout(() => { + Navigation.navigate(ROUTES.TRACK_TRAINING_MODAL); + }, CONST.ANIMATED_TRANSITION); } }, },