hide the proper view if no conversations are found

This commit is contained in:
tibbi 2021-11-15 22:52:51 +01:00
parent 0deb852f2f
commit d66c435e77
2 changed files with 2 additions and 2 deletions

View file

@ -279,7 +279,7 @@ class MainActivity : SimpleActivity() {
try {
(currAdapter as ConversationsAdapter).updateConversations(sortedConversations)
if (currAdapter.conversations.isEmpty()) {
conversations_list.beGone()
conversations_fastscroller.beGone()
no_conversations_placeholder.text = getString(R.string.no_conversations_found)
no_conversations_placeholder.beVisible()
no_conversations_placeholder_2.beVisible()