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') {
|
if (currentPage === 'Home') {
|
||||||
closeDb()
|
closeDb()
|
||||||
BackHandler.exitApp()
|
BackHandler.exitApp()
|
||||||
return false
|
return { currentPage }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentPage === 'CycleDay' || isSymptomView(currentPage)) {
|
if (currentPage === 'CycleDay' || isSymptomView(currentPage)) {
|
||||||
|
|||||||
Reference in new issue
Block a user