mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
added valorant languages support + fixed backups not created
This commit is contained in:
parent
829916e444
commit
3a6b166cf6
|
|
@ -1 +1 @@
|
|||
Subproject commit 09a98cdafd273db1cdee58ded37ed4f5b3a2ff22
|
||||
Subproject commit adb0529c1770d41c84fa73f47ad918cd7d5ece4c
|
||||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user