save file dialog also defaults to home directory on osx.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
@@ -8,6 +8,7 @@ using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Linq;
+using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Models;
@@ -70,6 +71,11 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
Title = "Export Binary PSBT"
};
+ if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
+ {
+ sfd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
+ }
+
string fileFullName = await sfd.ShowAsync(Application.Current.MainWindow, fallBack: true);
if (!string.IsNullOrWhiteSpace(fileFullName))
{

save file dialog also defaults to home directory on osx.