Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,7 @@ public async Task DecompressArchive()
DecompressArchiveDialogViewModel decompressArchiveViewModel = new(archive);
decompressArchiveDialog.ViewModel = decompressArchiveViewModel;

ContentDialogResult option = await decompressArchiveDialog.ShowAsync();

ContentDialogResult option = await decompressArchiveDialog.TryShowAsync();
if (option != ContentDialogResult.Primary)
return;

Expand Down Expand Up @@ -707,7 +706,7 @@ private static async Task ExtractArchive(BaseStorageFile archive, BaseStorageFol
Stopwatch sw = new();
sw.Start();

await ZipHelpers.ExtractArchive(archive, destinationFolder, banner.Progress, extractCancellation.Token);
await FilesystemTasks.Wrap(() => ZipHelpers.ExtractArchive(archive, destinationFolder, banner.Progress, extractCancellation.Token));

sw.Stop();
banner.Remove();
Expand Down