Fixed constant loading messages text (#225)
This commit is contained in:
parent
1a4ceadbee
commit
c2c76a2fd0
1 changed files with 4 additions and 0 deletions
|
|
@ -278,6 +278,10 @@ class MainActivity : SimpleActivity() {
|
|||
} else {
|
||||
try {
|
||||
(currAdapter as ConversationsAdapter).updateConversations(sortedConversations)
|
||||
if (currAdapter.conversations.isEmpty()) {
|
||||
no_conversations_placeholder.text = getString(R.string.no_conversations_found)
|
||||
no_conversations_placeholder_2.beVisible()
|
||||
}
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue