Fix bug showing null string on empty search.
Fixes #13854 Resolves #13878
This commit is contained in:
parent
e1d8870160
commit
39a1ae7722
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class ContactSelectionListAdapter(
|
|||
private val emptyText: TextView = itemView.findViewById(R.id.search_no_results)
|
||||
|
||||
override fun bind(model: EmptyModel) {
|
||||
emptyText.text = context.getString(R.string.SearchFragment_no_results, model.empty.query)
|
||||
emptyText.text = context.getString(R.string.SearchFragment_no_results, model.empty.query ?: "")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue