fix all warnings.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBroadcasterViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBroadcasterViewModel.cs
@@ -91,11 +91,11 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
initialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
}
- ofd.InitialDirectory = initialDirectory;
+ ofd.Directory = initialDirectory;
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
- ofd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
+ ofd.Directory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
}
var window = (Application.Current.ApplicationLifetime as IClassicDesktopStyleApplicationLifetime).MainWindow;

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
@@ -81,7 +81,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
initialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
}
- sfd.InitialDirectory = initialDirectory;
+ sfd.Directory = initialDirectory;
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletViewModel.cs
@@ -92,7 +92,7 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
- ofd.InitialDirectory = Path.Combine("/media", Environment.UserName);
+ ofd.Directory = Path.Combine("/media", Environment.UserName);
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{

fix all warnings.