Fix bug to show the dialog when CJ in critical phase
MODIFY
WalletWasabi.Fluent/ViewModels/ApplicationViewModel.cs
WalletWasabi.Fluent/ViewModels/ApplicationViewModel.cs
@@ -22,14 +22,17 @@ namespace WalletWasabi.Fluent.ViewModels
{
desktopLifetime.Shutdown();
}
+ }
else
{
+ // Show the window if it was hidden.
+ ShowRequested?.Invoke(this, EventArgs.Empty);
+
await MainViewModel.Instance!.CompactDialogScreen.NavigateDialogAsync(new Dialogs.ShowErrorDialogViewModel(
"Wasabi is currently anonymising your wallet. Please try again in a few seconds.",
"Warning",
"Unable to close"));
}
- }
});
ShowCommand = ReactiveCommand.Create(() => ShowRequested?.Invoke(this, EventArgs.Empty));

Fix bug to show the dialog when CJ in critical phase