Simplification

This commit is contained in:
M66B 2020-01-15 11:24:05 +01:00
parent a02ac3c381
commit ef8b899277
1 changed files with 1 additions and 2 deletions

View File

@ -187,8 +187,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean fts = prefs.getBoolean("fts", false);
if (fts &&
(find == null || !find.startsWith(context.getString(R.string.title_search_special_prefix) + ":"))) {
if (fts && seen == null && flagged == null && snoozed == null && encrypted == null) {
if (state.ids == null) {
FtsDbHelper ftsDb = new FtsDbHelper(context);
try (SQLiteDatabase sdb = ftsDb.getReadableDatabase()) {