From a49dddaec37711db3bd8fa345c3b13d4b4628df4 Mon Sep 17 00:00:00 2001
From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com>
Date: Sun, 27 Jul 2025 14:16:54 +1000
Subject: [PATCH] fixed issues
---
FModel/ViewModels/SearchViewModel.cs | 2 +-
FModel/Views/SettingsView.xaml | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/FModel/ViewModels/SearchViewModel.cs b/FModel/ViewModels/SearchViewModel.cs
index 35cb9bc3..af4beb41 100644
--- a/FModel/ViewModels/SearchViewModel.cs
+++ b/FModel/ViewModels/SearchViewModel.cs
@@ -92,7 +92,7 @@ public class SearchViewModel : ViewModel
public void RefreshFilter()
{
- if (SearchResultsView.Filter == null)
+ if (!string.IsNullOrEmpty(FilterText))
SearchResultsView.Filter = e => ItemFilter(e, FilterText.Trim().Split(' '));
else
SearchResultsView.Refresh();
diff --git a/FModel/Views/SettingsView.xaml b/FModel/Views/SettingsView.xaml
index 4363181e..ae21ec2c 100644
--- a/FModel/Views/SettingsView.xaml
+++ b/FModel/Views/SettingsView.xaml
@@ -45,6 +45,7 @@
+
@@ -233,8 +234,8 @@
-
-
+