diff --git a/native/redux/redux-setup.js b/native/redux/redux-setup.js --- a/native/redux/redux-setup.js +++ b/native/redux/redux-setup.js @@ -182,9 +182,11 @@ action.type === logOutActionTypes.success || action.type === deleteAccountActionTypes.success ) { - return { + state = { ...state, - localSettings: { isBackupEnabled: false }, + localSettings: { + isBackupEnabled: false, + }, }; } @@ -290,6 +292,7 @@ +state: AppState, +threadStoreOperations: $ReadOnlyArray, }; + function fixUnreadActiveThread( state: AppState, action: *, @@ -336,6 +339,7 @@ } let appLastBecameInactive = 0; + function appBecameInactive() { appLastBecameInactive = Date.now(); }