Added SearchQuery property
MODIFY
WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs
WalletWasabi.Fluent/ViewModels/SearchPageViewModel.cs
@@ -10,6 +10,7 @@ namespace WalletWasabi.Fluent.ViewModels
{
public class SearchPageViewModel : NavBarItemViewModel
{
+ private string? _searchQuery;
private readonly ReadOnlyObservableCollection<SearchItemViewModel> _searchItems;
public SearchPageViewModel(NavigationStateViewModel navigationState, WalletManagerViewModel walletManager, AddWalletPageViewModel addWalletPage) : base(navigationState, NavigationTarget.Home)
@@ -63,6 +64,12 @@ namespace WalletWasabi.Fluent.ViewModels
public override string IconName => "search_regular";
+ public string? SearchQuery
+ {
+ get => _searchQuery;
+ set => this.RaiseAndSetIfChanged(ref _searchQuery, value);
+ }
+
public ReadOnlyObservableCollection<SearchItemViewModel> SearchItems => _searchItems;
}
}
\ No newline at end of file

Added SearchQuery property