Select item when SelectedWallet was set
MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarViewModel.cs
@@ -79,6 +79,16 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
{
HideItems = !x.Item1 && x.Item2 > 0;
});
+
+ _walletManager.WhenAnyValue(x => x.SelectedWallet)
+ .OfType<NavBarItemViewModel>()
+ .Subscribe(x =>
+ {
+ if (x is not null)
+ {
+ SelectedItem = x;
+ }
+ });
}
public ObservableCollection<NavBarItemViewModel> Actions => _walletManager.Actions;

Select item when SelectedWallet was set