Add back IsWatchOnly and IsHardware
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -232,6 +232,9 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _targetPrivacy, value);
}
+ public bool IsWatchOnly => WalletService.KeyManager.IsWatchOnly;
+ public bool IsHardwareWallet => WalletService.KeyManager.IsHardwareWallet;
+
public bool IsLurkingWifeMode => Global.UiConfig.LurkingWifeMode is true;
public ReactiveCommand<Unit, Unit> EnqueueCommand { get; }

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
@@ -96,6 +96,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public SuggestLabelViewModel LabelSuggestion { get; }
+ public bool IsHardwareWallet => WalletService.KeyManager.IsHardwareWallet;
+
public override void OnOpen(CompositeDisposable disposables)
{
base.OnOpen(disposables);

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendControlViewModel.cs
@@ -755,6 +755,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _allSelectedAmount, value);
}
+ public bool IsWatchOnly => WalletService.KeyManager.IsWatchOnly;
+
public ErrorDescriptors ValidatePassword() => PasswordHelper.ValidatePassword(Password);
[ValidateMethod(nameof(ValidatePassword))]

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
@@ -78,6 +78,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public string AccountKeyPath => $"m/{WalletService.KeyManager.AccountKeyPath}";
public string MasterKeyFingerprint => WalletService.KeyManager.MasterFingerprint.ToString();
public ReactiveCommand<Unit, Unit> ToggleSensitiveKeysCommand { get; }
+ public bool IsWatchOnly => WalletService.KeyManager.IsWatchOnly;
public bool ShowSensitiveKeys
{

Add back IsWatchOnly and IsHardware