mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Disable search suggestions for indexed search
This commit is contained in:
@@ -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 + "%";
|
||||
|
||||
Reference in New Issue
Block a user