Disable search suggestions for FTS

pull/199/head
M66B 4 years ago
parent a150f9001c
commit 55b289ad6b

@ -137,6 +137,8 @@ public class FragmentDialogSearch extends FragmentDialogBase {
MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"}); MatrixCursor cursor = new MatrixCursor(new String[]{"_id", "suggestion"});
if (TextUtils.isEmpty(typed)) if (TextUtils.isEmpty(typed))
return cursor; return cursor;
if (fts && pro)
return cursor;
String query = "%" + typed + "%"; String query = "%" + typed + "%";
DB db = DB.getInstance(context); DB db = DB.getInstance(context);

Loading…
Cancel
Save