Add WalletInfoViewModel
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -229,6 +229,17 @@ public partial class MainViewModel : ViewModelBase
return null;
});
+
+ WalletInfoViewModel.RegisterLazy(() =>
+ {
+ if (UiServices.WalletManager.SelectedWallet is WalletViewModel walletViewModel)
+ {
+ // TODO: Display password dialog if needed, see WalletInfoCommand execute action.
+ return new WalletInfoViewModel(walletViewModel);
+ }
+
+ return null;
+ });
}
public void ApplyUiConfigWindowSate()

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletInfoViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Advanced/WalletInfoViewModel.cs
@@ -6,7 +6,15 @@ using static WalletWasabi.Blockchain.Keys.WpkhOutputDescriptorHelper;
namespace WalletWasabi.Fluent.ViewModels.Wallets.Advanced;
-[NavigationMetaData(Title = "Wallet Info")]
+[NavigationMetaData(
+ Title = "Wallet Info",
+ Caption = "Displays wallet info",
+ IconName = "nav_wallet_24_regular",
+ Order = 3,
+ Category = "Wallet",
+ Keywords = new[] { "Wallet", "Info", },
+ NavBarPosition = NavBarPosition.None,
+ NavigationTarget = NavigationTarget.DialogScreen)]
public partial class WalletInfoViewModel : RoutableViewModel
{
[AutoNotify] private bool _showSensitiveData;

Add WalletInfoViewModel