1
0
Fork 0
mirror of https://github.com/oMaN-Rod/nxDumpFuse.git synced 2024-11-08 11:51:49 +00:00

Fix issue with openfiledialog when using app in macOS

This commit is contained in:
Omar 2021-10-28 17:45:10 -04:00
parent c634ef975e
commit b38fd516de

View file

@ -13,7 +13,6 @@ namespace nxDumpFuse.ViewModels
public class FuseViewModel : ViewModelBase, IFuseViewModel
{
private readonly IDialogService _dialogService;
private readonly List<string> _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<string>() });
}
private async void SelectOutputFolder()