This commit is contained in:
ammarahm-ed
2022-02-28 23:56:12 +05:00
parent e1adb1982c
commit 68f105d4b4
12 changed files with 39 additions and 60 deletions

View File

@@ -356,7 +356,7 @@ export const useAppEvents = () => {
user = await db.user.getUser();
if (PremiumService.get() && user) {
if (SettingsService.get().reminder === 'off') {
await SettingsService.set('reminder', 'daily');
await SettingsService.set({ reminder: 'daily' });
}
if (Backup.checkBackupRequired()) {
sleep(2000).then(() => Backup.checkAndRun());