PaymentVariantsWindow: Add ViewModel and Service
Some checks failed
Test / Run tests (push) Failing after 31s

This commit is contained in:
2025-07-07 21:46:19 +02:00
parent 97300b6e30
commit bf4fa4e152
9 changed files with 579 additions and 432 deletions

View File

@@ -15,7 +15,7 @@ namespace Elwig.ViewModels {
[ObservableProperty]
private string? _searchQuery = "";
public List<string> TextFilter {
get => [.. SearchQuery?.ToLower().Split(' ').ToList().FindAll(e => e.Length > 0)];
get => [.. SearchQuery?.ToLower().Split(' ').ToList().FindAll(e => e.Length > 0) ?? []];
set => SearchQuery = string.Join(' ', value.Where(e => e.Length > 0));
}