Show event enablet to all OSs
MODIFY
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
@@ -20,9 +20,6 @@ namespace WalletWasabi.Fluent.Behaviors
return;
}
- // On macOs the Hide/Show is a natural feature.
- if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
- {
Observable.Merge(
Observable.FromEventPattern(Services.SingleInstanceChecker, nameof(SingleInstanceChecker.OtherInstanceStarted)),
Observable.FromEventPattern(((App)Application.Current!), nameof(App.ShowRequested)))
@@ -38,7 +35,6 @@ namespace WalletWasabi.Fluent.Behaviors
AssociatedObject.BringIntoView();
})
.DisposeWith(disposables);
- }
// TODO: we need the close button click only, external close request should not be cancelled.
Observable

Show event enablet to all OSs