Handle toggle mode
MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
@@ -25,8 +25,15 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
SelectionMode = NavBarItemSelectionMode.Selected;
OpenCommand = ReactiveCommand.Create(
() =>
+ {
+ if (SelectionMode == NavBarItemSelectionMode.Toggle)
+ {
+ Toggle();
+ }
+ else
{
Navigate().To(this, NavigationMode.Clear);
+ }
});
this.WhenAnyValue(x => x.IsExpanded)

Handle toggle mode