protect navigation bindings.
MODIFY
WalletWasabi.Fluent/ViewModels/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBarViewModel.cs
@@ -43,11 +43,14 @@ namespace WalletWasabi.Fluent.ViewModels
.Subscribe(x=>
{
if(_items.Contains(x) || _topItems.Contains(x) || _bottomItems.Contains(x))
+ {
+ if (!_isNavigating)
{
_isNavigating = true;
SelectedItem = x;
_isNavigating = false;
}
+ }
});
this.WhenAnyValue(x => x.SelectedItem)
@@ -56,7 +59,9 @@ namespace WalletWasabi.Fluent.ViewModels
{
if (!_isNavigating)
{
+ _isNavigating = true;
Router.NavigateAndReset.Execute(x);
+ _isNavigating = false;
}
});

protect navigation bindings.