We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c697f commit 92be75aCopy full SHA for 92be75a
package/src/utils/DBSyncManager.ts
@@ -63,8 +63,10 @@ export class DBSyncManager {
63
this.client.on('connection.changed', async (event) => {
64
if (event.online) {
65
await this.syncAndExecutePendingTasks();
66
+ this.syncStatus = true;
67
this.listeners.forEach((l) => l(true));
68
} else {
69
+ this.syncStatus = false;
70
this.listeners.forEach((l) => l(false));
71
}
72
});
0 commit comments