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
|
|
@ -56,7 +56,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:3bbf37c7f9'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:df457fe86a'
|
||||
implementation 'org.greenrobot:eventbus:3.2.0'
|
||||
implementation 'com.klinkerapps:android-smsmms:5.2.6'
|
||||
implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a'
|
||||
|
|
|
|||
|
|
@ -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