clear search term when closed
MODIFY
WalletWasabi.Fluent/ViewModels/SearchBar/SearchBarViewModel.cs
WalletWasabi.Fluent/ViewModels/SearchBar/SearchBarViewModel.cs
@@ -38,6 +38,10 @@ public class SearchBarViewModel : ReactiveObject
.Subscribe();
ShowListCommand = ReactiveCommand.Create(() => IsSearchListVisible = true);
+
+ this.WhenAnyValue(x => x.IsSearchListVisible)
+ .Where(x => x == false)
+ .Subscribe(_ => SearchText = "");
}
public ReactiveCommand<Unit, bool> ShowListCommand { get; set; }

clear search term when closed