Fixes missing navigation state on exiting the app
This commit is contained in:
@@ -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