mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
mobile: fix crash when logging out user
This commit is contained in:
committed by
Abdullah Atta
parent
fabc595f3d
commit
dad2b61a74
@@ -327,7 +327,7 @@ PODS:
|
|||||||
- React-Core
|
- React-Core
|
||||||
- react-native-keep-awake (1.2.0):
|
- react-native-keep-awake (1.2.0):
|
||||||
- React-Core
|
- React-Core
|
||||||
- react-native-mmkv-storage (0.10.0-alpha.5):
|
- react-native-mmkv-storage (0.10.0-alpha.6):
|
||||||
- MMKV (~> 1.3.1)
|
- MMKV (~> 1.3.1)
|
||||||
- React
|
- React
|
||||||
- React-Core
|
- React-Core
|
||||||
@@ -875,7 +875,7 @@ SPEC CHECKSUMS:
|
|||||||
react-native-image-resizer: 00ceb0e05586c7aadf061eea676957a6c2ec60fa
|
react-native-image-resizer: 00ceb0e05586c7aadf061eea676957a6c2ec60fa
|
||||||
react-native-in-app-review: db8bb167a5f238e7ceca5c242d6b36ce8c4404a4
|
react-native-in-app-review: db8bb167a5f238e7ceca5c242d6b36ce8c4404a4
|
||||||
react-native-keep-awake: caee3ff89eaa21dfe29010f0d143566874a04441
|
react-native-keep-awake: caee3ff89eaa21dfe29010f0d143566874a04441
|
||||||
react-native-mmkv-storage: 47f3054a7ab997881fd4b8941c8a51fa49102793
|
react-native-mmkv-storage: a38beae34b1f7906a2f5e715f54216f9ddab14c0
|
||||||
react-native-netinfo: ccbe1085dffd16592791d550189772e13bf479e2
|
react-native-netinfo: ccbe1085dffd16592791d550189772e13bf479e2
|
||||||
react-native-notification-sounds: da78c828fe1bcbb92d8b505d5261890ed315ff39
|
react-native-notification-sounds: da78c828fe1bcbb92d8b505d5261890ed315ff39
|
||||||
react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628
|
react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
"react-native-image-picker": "4.1.2",
|
"react-native-image-picker": "4.1.2",
|
||||||
"react-native-in-app-review": "4.3.3",
|
"react-native-in-app-review": "4.3.3",
|
||||||
"react-native-keychain": "4.0.5",
|
"react-native-keychain": "4.0.5",
|
||||||
"react-native-mmkv-storage": "^0.10.0-alpha.5",
|
"react-native-mmkv-storage": "^0.10.0-alpha.6",
|
||||||
"react-native-modal-datetime-picker": "14.0.0",
|
"react-native-modal-datetime-picker": "14.0.0",
|
||||||
"react-native-navigation-bar-color": "2.0.2",
|
"react-native-navigation-bar-color": "2.0.2",
|
||||||
"react-native-notification-sounds": "0.5.5",
|
"react-native-notification-sounds": "0.5.5",
|
||||||
|
|||||||
450
apps/mobile/package-lock.json
generated
450
apps/mobile/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -260,7 +260,6 @@ class Sync {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const dbLastSynced = await this.db.lastSynced();
|
const dbLastSynced = await this.db.lastSynced();
|
||||||
console.time("fetch");
|
|
||||||
let count = 0;
|
let count = 0;
|
||||||
this.connection.off("SyncItems");
|
this.connection.off("SyncItems");
|
||||||
this.connection.on("SyncItems", async (chunk) => {
|
this.connection.on("SyncItems", async (chunk) => {
|
||||||
@@ -329,7 +328,6 @@ class Sync {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.timeEnd("fetch");
|
|
||||||
this.connection.off("SyncItems");
|
this.connection.off("SyncItems");
|
||||||
|
|
||||||
if (await this.conflicts.check()) {
|
if (await this.conflicts.check()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user