mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Change async void for async Task wherever possible.
This commit is contained in:
@@ -38,6 +38,7 @@ using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reactive;
|
||||
using System.Threading.Tasks;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Interop;
|
||||
using Aaru.CommonTypes.Structs;
|
||||
@@ -111,9 +112,9 @@ public sealed class SubdirectoryViewModel
|
||||
|
||||
public ObservableCollection<FileModel> Entries { get; }
|
||||
public List<FileModel> SelectedEntries { get; }
|
||||
public ReactiveCommand<Unit, Unit> ExtractFilesCommand { get; }
|
||||
public ReactiveCommand<Unit, Task> ExtractFilesCommand { get; }
|
||||
|
||||
async void ExecuteExtractFilesCommand()
|
||||
async Task ExecuteExtractFilesCommand()
|
||||
{
|
||||
if(SelectedEntries.Count == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user