From 497c59b73088d089aec8be3a2ee51a181d0287b6 Mon Sep 17 00:00:00 2001 From: kongqichao Date: Tue, 4 Jun 2024 19:08:43 +0800 Subject: [PATCH] Fix Bug-Search Filter does not apply #981 --- .../src/main/java/it/feio/android/omninotes/ListFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java b/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java index 73eda9b82..86058d1ea 100644 --- a/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java +++ b/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java @@ -907,6 +907,7 @@ private void addReminders() { private void switchNotesView() { boolean expandedView = Prefs.getBoolean(PREF_EXPANDED_VIEW, true); Prefs.edit().putBoolean(PREF_EXPANDED_VIEW, !expandedView).apply(); + searchQueryInstant = searchQuery; // Change list view initNotesList(mainActivity.getIntent()); // Called to switch menu voices