From b38fd516de82703424010173b794a642420a480d Mon Sep 17 00:00:00 2001 From: Omar Date: Thu, 28 Oct 2021 17:45:10 -0400 Subject: [PATCH] Fix issue with openfiledialog when using app in macOS --- src/nxDumpFuse/ViewModels/FuseViewModel.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nxDumpFuse/ViewModels/FuseViewModel.cs b/src/nxDumpFuse/ViewModels/FuseViewModel.cs index 3250f73..8a419dc 100644 --- a/src/nxDumpFuse/ViewModels/FuseViewModel.cs +++ b/src/nxDumpFuse/ViewModels/FuseViewModel.cs @@ -13,7 +13,6 @@ namespace nxDumpFuse.ViewModels public class FuseViewModel : ViewModelBase, IFuseViewModel { private readonly IDialogService _dialogService; - private readonly List _extensions = new() { "*" }; private Fuse? _fuse; public FuseViewModel(IDialogService dialogService) @@ -78,7 +77,7 @@ namespace nxDumpFuse.ViewModels private async void SelectInputFile() { - InputFilePath = await _dialogService.ShowOpenFileDialogAsync("Choose Input File", new FileDialogFilter { Name = string.Empty, Extensions = _extensions }); + InputFilePath = await _dialogService.ShowOpenFileDialogAsync("Choose Input File", new FileDialogFilter { Name = string.Empty, Extensions = new List() }); } private async void SelectOutputFolder()