mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-14 16:10:39 +00:00
Reset last search
This commit is contained in:
parent
f51c56d98e
commit
580e05f4dc
1 changed files with 2 additions and 2 deletions
|
@ -290,10 +290,10 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
BoundaryCallbackMessages.SearchCriteria criteria = new BoundaryCallbackMessages.SearchCriteria();
|
||||
|
||||
criteria.query = etQuery.getText().toString();
|
||||
prefs.edit().putString("last_search", criteria.query).apply();
|
||||
|
||||
if (TextUtils.isEmpty(criteria.query))
|
||||
criteria.query = null;
|
||||
else
|
||||
prefs.edit().putString("last_search", criteria.query).apply();
|
||||
|
||||
criteria.fts = cbSearchIndex.isChecked();
|
||||
if (!criteria.fts) {
|
||||
|
|
Loading…
Add table
Reference in a new issue