added valorant languages support + fixed backups not created

This commit is contained in:
Valentin 2021-05-23 01:16:47 +02:00
parent 829916e444
commit 3a6b166cf6
3 changed files with 3 additions and 6 deletions

@ -1 +1 @@
Subproject commit 09a98cdafd273db1cdee58ded37ed4f5b3a2ff22
Subproject commit adb0529c1770d41c84fa73f47ad918cd7d5ece4c

View File

@ -59,7 +59,6 @@ namespace FModel.ViewModels
public async Task CreateBackup()
{
if (SelectedBackup == null) return;
await _threadWorkerView.Begin(_ =>
{
var backupFolder = Path.Combine(UserSettings.Default.OutputDirectory, "Backups");

View File

@ -20,14 +20,12 @@ namespace FModel.Views
private async void OnDownloadClick(object sender, RoutedEventArgs e)
{
if (DataContext is not BackupManagerViewModel viewModel) return;
await viewModel.Download();
await _viewModel.Download();
}
private async void OnCreateBackupClick(object sender, RoutedEventArgs e)
{
if (DataContext is not BackupManagerViewModel viewModel) return;
await viewModel.CreateBackup();
await _viewModel.CreateBackup();
}
}
}