Hide window instead of minimize
MODIFY
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
@@ -44,15 +44,9 @@ namespace WalletWasabi.Fluent.Behaviors
.Subscribe(args =>
{
if (Services.UiConfig.HideOnClose)
- {
- if (AssociatedObject.WindowState is not WindowState.Minimized)
{
args.EventArgs.Cancel = true;
- }
-
- // AssociatedObject.Hide() and show Tray icon.
- // Temporary solution is to Minimize
- AssociatedObject.WindowState = WindowState.Minimized;
+ AssociatedObject.Hide();
}
})
.DisposeWith(disposables);

Hide window instead of minimize