From e88f26dc16dd121b0274b0640460a734829a3f4a Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Sun, 16 Feb 2020 16:26:37 +0100 Subject: [PATCH] Fixes missing navigation state on exiting the app --- slices/navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slices/navigation.js b/slices/navigation.js index 13674fd..24991df 100644 --- a/slices/navigation.js +++ b/slices/navigation.js @@ -20,7 +20,7 @@ const navigationSlice = createSlice({ if (currentPage === 'Home') { closeDb() BackHandler.exitApp() - return false + return { currentPage } } if (currentPage === 'CycleDay' || isSymptomView(currentPage)) {