mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
refactor(electronSecurity): better method name
This commit is contained in:
parent
c3cba4d9b3
commit
e8343d060e
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
// --------
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue