Add a property to WalletService to calculate the WalletName.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletAdvancedViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletAdvancedViewModel.cs
@@ -24,7 +24,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _isExpanded, value);
}
- public WalletAdvancedViewModel(WalletService walletService) : base(Path.GetFileNameWithoutExtension(walletService.KeyManager.FilePath))
+ public WalletAdvancedViewModel(WalletService walletService) : base(walletService.Name)
{
Items = new ObservableCollection<WasabiDocumentTabViewModel>();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
@@ -33,7 +33,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private Global Global { get; }
- public WalletInfoViewModel(WalletService walletService) : base(Path.GetFileNameWithoutExtension(walletService.KeyManager.FilePath))
+ public WalletInfoViewModel(WalletService walletService) : base(walletService.Name)
{
Global = Locator.Current.GetService<Global>();
WalletService = walletService;

MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -56,6 +56,8 @@ namespace WalletWasabi.Services
public ServiceConfiguration ServiceConfiguration { get; }
+ public string Name => Path.GetFileNameWithoutExtension(KeyManager.FilePath);
+
/// <summary>
/// Unspent Transaction Outputs
/// </summary>

Add a property to WalletService to calculate the WalletName.