Disable search suggestions for FTS

This commit is contained in:
M66B
2021-06-14 06:15:30 +02:00
parent a150f9001c
commit 55b289ad6b

View File

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