From 70be853acdbda871fee8f05de2303b151c3e1f9e Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Thu, 24 Sep 2020 12:21:31 +0300 Subject: [PATCH] Update no results found icon. --- .../home/room/detail/search/SearchFragment.kt | 2 +- .../res/drawable/ic_search_no_results.xml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 vector/src/main/res/drawable/ic_search_no_results.xml diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchFragment.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchFragment.kt index 1f8f7fa422..fa60d33e64 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/search/SearchFragment.kt @@ -116,7 +116,7 @@ class SearchFragment @Inject constructor( } else { stateView.state = StateView.State.Empty( title = stringProvider.getString(R.string.search_no_results), - image = ContextCompat.getDrawable(requireContext(), R.drawable.ic_search) + image = ContextCompat.getDrawable(requireContext(), R.drawable.ic_search_no_results) ) } } diff --git a/vector/src/main/res/drawable/ic_search_no_results.xml b/vector/src/main/res/drawable/ic_search_no_results.xml new file mode 100644 index 0000000000..24c0f00131 --- /dev/null +++ b/vector/src/main/res/drawable/ic_search_no_results.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file