mirror of
https://github.com/oMaN-Rod/nxDumpFuse.git
synced 2024-12-22 08:32:01 +00:00
Fix issue with openfiledialog when using app in macOS
This commit is contained in:
parent
c634ef975e
commit
b38fd516de
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue