private async void Loaded()
        {
            if (!connectivity.IsConnected || !IsLoggedIn)
            {
                return;
            }

            IsLoadingBackupAvailability = true;
            BackupAvailable             = await backupManager.IsBackupExisting();

            BackupLastModified = await backupManager.GetBackupDate();

            IsLoadingBackupAvailability = false;
        }
        private async void Loaded()
        {
            if (connectivity.IsConnected)
            {
                IsCheckingBackupAvailability = true;
                BackupAvailable = await backupManager.IsBackupExisting();

                BackupLastModified = await backupManager.GetBackupDate();

                IsCheckingBackupAvailability = false;
            }
            else
            {
                await dialogService.ShowMessage(Strings.NoNetworkTitle, Strings.NoNetworkMessage);
            }
        }
        private async void Loaded()
        {
            if (!IsLoggedIn)
            {
                return;
            }

            //if (!connectivity.IsConnected)
            //{
            //    await dialogService.ShowMessage(Strings.NoNetworkTitle, Strings.NoNetworkMessage);
            //}

            IsLoadingBackupAvailability = true;
            BackupAvailable             = await backupManager.IsBackupExisting();

            BackupLastModified = await backupManager.GetBackupDate();

            IsLoadingBackupAvailability = false;
        }
 public async Task <bool> IsBackupExisting()
 {
     return(await backupManager.IsBackupExisting()
            .ConfigureAwait(true));
 }
Exemple #5
0
 public async Task <bool> IsBackupExisting()
 {
     return(await backupManager.IsBackupExisting());
 }