Fixes missing navigation state on exiting the app
This commit is contained in:
1 parent
8cad357e60
commit
e88f26dc16
1 file changed
+1
-1
@@ -20,7 +20,7 @@ const navigationSlice = createSlice({
|
||||
if (currentPage === 'Home') {
|
||||
closeDb()
|
||||
BackHandler.exitApp()
|
||||
return false
|
||||
return { currentPage }
|
||||
}
|
||||
|
||||
if (currentPage === 'CycleDay' || isSymptomView(currentPage)) {
|
||||
|
||||
Reference in new issue
Block a user