mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
do not show backup folder message on login
This commit is contained in:
@@ -342,14 +342,17 @@ export const useAppEvents = () => {
|
||||
}
|
||||
if (!user.isEmailConfirmed) setEmailVerifyMessage();
|
||||
|
||||
if (PremiumService.get() && user) {
|
||||
if (SettingsService.get().reminder === 'off') {
|
||||
await SettingsService.set({ reminder: 'daily' });
|
||||
}
|
||||
if (Backup.checkBackupRequired()) {
|
||||
sleep(2000).then(() => Backup.checkAndRun());
|
||||
if (!login) {
|
||||
if (PremiumService.get() && user) {
|
||||
if (SettingsService.get().reminder === 'off') {
|
||||
await SettingsService.set({ reminder: 'daily' });
|
||||
}
|
||||
if (Backup.checkBackupRequired()) {
|
||||
sleep(2000).then(() => Backup.checkAndRun());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
refValues.current.isUserReady = true;
|
||||
|
||||
syncedOnLaunch.current = true;
|
||||
|
||||
Reference in New Issue
Block a user