fix warning

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parneet-guraya 2024-12-15 02:40:10 +05:30
parent 68ce431f45
commit 8d6f8cbda4
No known key found for this signature in database
GPG key ID: 63B807C4B2A9064B

View file

@ -14,5 +14,8 @@ class SearchCategoryFragment : PageableCategoryFragment() {
override val injectedPresenter
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()}"
}
}