hide the proper view if no conversations are found
This commit is contained in:
parent
ea05105ee6
commit
4157f758f9
2 changed files with 3 additions and 2 deletions
|
|
@ -251,7 +251,8 @@ class MainActivity : SimpleActivity() {
|
|||
compareByDescending<Conversation> { config.pinnedConversations.contains(it.threadId.toString()) }
|
||||
.thenByDescending { it.date }
|
||||
).toMutableList() as ArrayList<Conversation>
|
||||
conversations_list.beVisibleIf(hasConversations)
|
||||
|
||||
conversations_fastscroller.beVisibleIf(hasConversations)
|
||||
no_conversations_placeholder.beGoneIf(hasConversations)
|
||||
no_conversations_placeholder_2.beGoneIf(hasConversations)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue