refactor(electronSecurity): better method name

This commit is contained in:
Johannes Millan 2023-12-17 14:17:26 +01:00
parent c3cba4d9b3
commit e8343d060e
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ export class LocalBackupEffects {
appDataComplete.taskArchive.ids.length === 0 &&
!appDataComplete.lastLocalSyncModelChange
) {
const backupMeta = await this._localBackupService.isBackupAvailable();
const backupMeta = await this._localBackupService.checkBackupAvailable();
// ELECTRON
// --------

View file

@ -35,7 +35,7 @@ export class LocalBackupService {
this._triggerBackupSave$.subscribe();
}
isBackupAvailable(): Promise<boolean | LocalBackupMeta> {
checkBackupAvailable(): Promise<boolean | LocalBackupMeta> {
return IS_ANDROID_WEB_VIEW
? androidInterface.loadFromDbWrapped(ANDROID_DB_KEY).then((r) => !!r)
: window.ea.checkBackupAvailable();