using string template instead of concat

This commit is contained in:
Mariotaku Lee 2017-02-04 23:02:27 +08:00
parent 9ff52bf935
commit 4b637f9f00
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class AddStatusFilterDialogFragment : BaseDialogFragment() {
val keyword = ParseUtils.parseString(value)
keywords.add(keyword)
val values = ContentValues()
values.put(Filters.Keywords.VALUE, "#" + keyword)
values.put(Filters.Keywords.VALUE, "#$keyword")
keywordValues.add(values)
} else if (info.type == FilterItemInfo.FILTER_TYPE_SOURCE) {
val source = ParseUtils.parseString(value)