Add coin list to search bar
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -18,6 +18,7 @@ using WalletWasabi.Fluent.ViewModels.Settings;
using WalletWasabi.Fluent.ViewModels.StatusIcon;
using WalletWasabi.Fluent.ViewModels.TransactionBroadcasting;
using WalletWasabi.Fluent.ViewModels.Wallets;
+using WalletWasabi.Fluent.ViewModels.Wallets.Advanced.WalletCoins;
namespace WalletWasabi.Fluent.ViewModels;
@@ -187,6 +188,16 @@ public partial class MainViewModel : ViewModelBase
OpenLogsViewModel.RegisterLazy(() => new OpenLogsViewModel());
OpenTorLogsViewModel.RegisterLazy(() => new OpenTorLogsViewModel());
OpenConfigFileViewModel.RegisterLazy(() => new OpenConfigFileViewModel());
+
+ WalletCoinsViewModel.RegisterLazy(() =>
+ {
+ if (UiServices.WalletManager.SelectedWallet is WalletViewModel walletViewModel)
+ {
+ return new WalletCoinsViewModel(walletViewModel);
+ }
+
+ return null;
+ });
}
public void ApplyUiConfigWindowSate()

Add coin list to search bar