private async void Loaded() { if (!connectivity.IsConnected || !IsLoggedIn) { return; } IsLoadingBackupAvailability = true; BackupAvailable = await backupManager.IsBackupExisting(); BackupLastModified = await backupManager.GetBackupDate(); IsLoadingBackupAvailability = false; }
public async Task <DateTime> GetBackupDate() { return(await backupManager.GetBackupDate()); }