rename method as it doesn't close but hides
MODIFY
WalletWasabi.Fluent/ApplicationStateManager.cs
WalletWasabi.Fluent/ApplicationStateManager.cs
@@ -144,7 +144,7 @@ public class ApplicationStateManager : IMainWindowService
_stateMachine.Fire(Trigger.Show);
}
- void IMainWindowService.Close()
+ void IMainWindowService.Hide()
{
_hideRequest = true;
_stateMachine.Fire(Trigger.Hide);

MODIFY
WalletWasabi.Fluent/Providers/IMainWindowService.cs
WalletWasabi.Fluent/Providers/IMainWindowService.cs
@@ -4,7 +4,7 @@ public interface IMainWindowService
{
void Show();
- void Close();
+ void Hide();
void Shutdown();
}

MODIFY
WalletWasabi.Fluent/ViewModels/ApplicationViewModel.cs
WalletWasabi.Fluent/ViewModels/ApplicationViewModel.cs
@@ -27,7 +27,7 @@ public partial class ApplicationViewModel : ViewModelBase, ICanShutdownProvider
{
if (IsMainWindowShown)
{
- _mainWindowService.Close();
+ _mainWindowService.Hide();
}
else
{

rename method as it doesn't close but hides