Enabled search suggestions for indexed search

This commit is contained in:
M66B
2021-04-17 09:15:17 +02:00
parent 78d5c2d363
commit 5e9f345ff3

View File

@@ -129,7 +129,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
Log.i("Search suggest=" + typed);
MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"});
if (TextUtils.isEmpty(typed) || cbSearchIndex.isChecked())
if (TextUtils.isEmpty(typed))
return cursor;
String query = "%" + typed + "%";