mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Disable search suggestions for indexed search
This commit is contained in:
parent
2d93b98668
commit
c5bfc1c362
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
Log.i("Search suggest=" + typed);
|
||||
|
||||
MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"});
|
||||
if (TextUtils.isEmpty(typed))
|
||||
if (TextUtils.isEmpty(typed) || cbSearchIndex.isChecked())
|
||||
return cursor;
|
||||
|
||||
String query = "%" + typed + "%";
|
||||
|
|
Loading…
Add table
Reference in a new issue