From 503ccadeb95d6ce83051e9ef1010633ff1d93809 Mon Sep 17 00:00:00 2001 From: Federico Iosue Date: Fri, 3 Nov 2023 01:39:58 +0100 Subject: [PATCH] Committed trash/archive movements on search action (closes #939) --- .../src/main/java/it/feio/android/omninotes/ListFragment.java | 2 +- omniNotes/src/main/res/raw/changelog.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 3f1da966c..7f62f3d6a 100644 --- a/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java +++ b/omniNotes/src/main/java/it/feio/android/omninotes/ListFragment.java @@ -702,7 +702,7 @@ public boolean onMenuItemActionCollapse(MenuItem item) { @Override public boolean onMenuItemActionExpand(MenuItem item) { - + commitPending(); searchView.setOnQueryTextListener(new OnQueryTextListener() { @Override public boolean onQueryTextSubmit(String arg0) { diff --git a/omniNotes/src/main/res/raw/changelog.xml b/omniNotes/src/main/res/raw/changelog.xml index e6f54edb2..ef4bd6337 100644 --- a/omniNotes/src/main/res/raw/changelog.xml +++ b/omniNotes/src/main/res/raw/changelog.xml @@ -19,7 +19,8 @@ - [u]Fix[/u] Fixed backups removal + [u]Fix[/u] Backups removal + [u]Fix[/u] Committed trash/archive movements on search action to keep data consistency (thanks to [a href='https://github.com/XYIheng']Yiheng Xiong[/a])