Skip to content

Commit

Permalink
Fix bug showing null string on empty search.
Browse files Browse the repository at this point in the history
Fixes #13854
Resolves #13878
  • Loading branch information
Sagar0-0 authored and greyson-signal committed Jan 7, 2025
1 parent e1d8870 commit 39a1ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?: "")
}
}

Expand Down

0 comments on commit 39a1ae7

Please sign in to comment.