mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 14:23:55 +01:00
fix warning
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
68ce431f45
commit
8d6f8cbda4
1 changed files with 4 additions and 1 deletions
|
|
@ -14,5 +14,8 @@ class SearchCategoryFragment : PageableCategoryFragment() {
|
||||||
override val injectedPresenter
|
override val injectedPresenter
|
||||||
get() = presenter
|
get() = presenter
|
||||||
|
|
||||||
override fun getEmptyText(query: String) = getString(R.string.categories_not_found, query.trim())
|
override fun getEmptyText(query: String): String {
|
||||||
|
val placeholder = getString(R.string.categories_not_found)
|
||||||
|
return "$placeholder ${query.trim()}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue