Make setter init only so we don't have to listen for changes
MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
@@ -25,7 +25,7 @@ public abstract partial class NavBarItemViewModel : RoutableViewModel
() => OnOpen(defaultNavigationMode));
}
- public NavBarItemSelectionMode SelectionMode { get; protected set; }
+ public NavBarItemSelectionMode SelectionMode { get; protected init; }
public bool IsSelectable => SelectionMode == NavBarItemSelectionMode.Selected;

Make setter init only so we don't have to listen for changes