private async void CreateBackup() { if (!await ShowOverwriteBackupInfo()) { return; } dialogService.ShowLoadingDialog(); await backupManager.CreateNewBackup(); BackupLastModified = DateTime.Now; dialogService.HideLoadingDialog(); await ShowCompletionNote(); }
private async void CreateBackup() { if (!await ShowOverwriteBackupInfo()) { return; } IsLoading = true; await backupManager.CreateNewBackup(); BackupLastModified = DateTime.Now; await ShowCompletionNote(); IsLoading = false; }