use managed file chooser on osx.
MODIFY
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs
WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs
@@ -55,7 +55,18 @@ namespace WalletWasabi.Gui.ManagedDialogs
Path = d.RootDirectory.FullName
}).ToArray();
}
+ else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
+ {
+ var paths = Directory.GetDirectories("/Volumes");
+ return paths.Select(x => new ManagedFileChooserNavigationItem
+ {
+ DisplayName = Path.GetFileName(x),
+ Path = x
+ }).ToArray();
+ }
+ else
+ {
return new[]
{
new ManagedFileChooserNavigationItem
@@ -67,3 +78,4 @@ namespace WalletWasabi.Gui.ManagedDialogs
}
}
}
+}

MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -113,7 +113,8 @@ namespace WalletWasabi.Gui
}
else
{
- result.UsePlatformDetect();
+ result.UsePlatformDetect()
+ .UseManagedSystemDialogs();
}
return result

use managed file chooser on osx.