fix To(Clear) operation.
MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
OpenCommand = ReactiveCommand.Create(
() =>
{
- Navigate().To(this);
+ Navigate().To(this, NavigationMode.Clear);
});
}

MODIFY
WalletWasabi.Fluent/ViewModels/Navigation/NavigationStack.cs
WalletWasabi.Fluent/ViewModels/Navigation/NavigationStack.cs
@@ -150,6 +150,11 @@ namespace WalletWasabi.Fluent.ViewModels.Navigation
_operationsEnabled = false;
Clear();
_operationsEnabled = true;
+
+ if (CurrentPage is { })
+ {
+ _backStack.Push(CurrentPage);
+ }
break;
}

fix To(Clear) operation.