Fixes missing navigation state on exiting the app

This commit is contained in:
Sofiya Tepikin
2020-02-16 16:26:37 +01:00
parent 8cad357e60
commit e88f26dc16
+1 -1
View File
@@ -20,7 +20,7 @@ const navigationSlice = createSlice({
if (currentPage === 'Home') {
closeDb()
BackHandler.exitApp()
return false
return { currentPage }
}
if (currentPage === 'CycleDay' || isSymptomView(currentPage)) {