mobile: fix background sync

This commit is contained in:
Ammar Ahmed
2024-04-23 14:53:24 +05:00
parent 67981be516
commit 59276de406

View File

@@ -114,7 +114,10 @@ async function onBackgroundSyncStarted() {
}
const user = await db.user?.getUser();
if (user) {
await db.sync(true, false);
await db.sync({
type: "full",
force: false
});
}
await Notifications.setupReminders();
DatabaseLogger.info("BACKGROUND SYNC COMPLETE");