mirror of
https://github.com/4sval/FModel.git
synced 2026-09-21 16:04:39 -05:00
added valorant languages support + fixed backups not created
This commit is contained in:
Submodule CUE4Parse updated: 09a98cdafd...adb0529c17
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user