mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
mobile: fix crash when logging out user
This commit is contained in:
committed by
Abdullah Atta
parent
fabc595f3d
commit
dad2b61a74
@@ -260,7 +260,6 @@ class Sync {
|
||||
}
|
||||
|
||||
const dbLastSynced = await this.db.lastSynced();
|
||||
console.time("fetch");
|
||||
let count = 0;
|
||||
this.connection.off("SyncItems");
|
||||
this.connection.on("SyncItems", async (chunk) => {
|
||||
@@ -329,7 +328,6 @@ class Sync {
|
||||
);
|
||||
}
|
||||
|
||||
console.timeEnd("fetch");
|
||||
this.connection.off("SyncItems");
|
||||
|
||||
if (await this.conflicts.check()) {
|
||||
|
||||
Reference in New Issue
Block a user