Move IsEnabled property to NavBarItemViewModel
MODIFY
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBar/NavBarItemViewModel.cs
@@ -16,6 +16,7 @@ namespace WalletWasabi.Fluent.ViewModels.NavBar
{
private bool _isSelected;
[AutoNotify] private bool _isExpanded;
+ [AutoNotify] private bool _isEnabled = true;
protected NavBarItemViewModel()
{

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Actions/WalletActionViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Actions/WalletActionViewModel.cs
@@ -9,8 +9,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Actions
{
public abstract partial class WalletActionViewModel : NavBarItemViewModel
{
- [AutoNotify] private bool _isEnabled;
-
protected WalletActionViewModel(WalletViewModelBase wallet)
{
Wallet = Guard.NotNull(nameof(wallet), wallet);

Move IsEnabled property to NavBarItemViewModel