From 7ca693195946bd424dbf2a430621798ec6bc9b5d Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Fri, 25 May 2018 23:47:38 +0800 Subject: [PATCH] fixed #1112 --- .../main/kotlin/org/mariotaku/twidere/util/DataStoreUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twidere/src/main/kotlin/org/mariotaku/twidere/util/DataStoreUtils.kt b/twidere/src/main/kotlin/org/mariotaku/twidere/util/DataStoreUtils.kt index 9692ac259..a3d58fd41 100644 --- a/twidere/src/main/kotlin/org/mariotaku/twidere/util/DataStoreUtils.kt +++ b/twidere/src/main/kotlin/org/mariotaku/twidere/util/DataStoreUtils.kt @@ -448,10 +448,10 @@ object DataStoreUtils { Expression.likeRaw(Column(Table(table), dataField), "'%'||$filterTable.$filterField||'%'") fun lineContainsExpression(dataField: String, filterTable: String, filterField: String) = - Expression.likeRaw(Column(Table(table), dataField), "'\\\\%'||$filterTable.$filterField||'%\\\\'") + Expression.likeRaw(Column(Table(table), dataField), "'\\%'||$filterTable.$filterField||'%\\'") fun lineMatchExpression(dataField: String, filterTable: String, filterField: String) = - Expression.likeRaw(Column(Table(table), dataField), "'%\\\\'||$filterTable.$filterField||'\\\\%'") + Expression.likeRaw(Column(Table(table), dataField), "'%\\'||$filterTable.$filterField||'\\%'") val filteredUsersWhere = Expression.and( scopeMatchesExpression(Filters.Users.TABLE_NAME, Filters.Users.SCOPE),