mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
hide the proper view if no conversations are found
This commit is contained in:
@@ -56,7 +56,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:3bbf37c7f9'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:df457fe86a'
|
||||||
implementation 'org.greenrobot:eventbus:3.2.0'
|
implementation 'org.greenrobot:eventbus:3.2.0'
|
||||||
implementation 'com.klinkerapps:android-smsmms:5.2.6'
|
implementation 'com.klinkerapps:android-smsmms:5.2.6'
|
||||||
implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a'
|
implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a'
|
||||||
|
@@ -251,7 +251,8 @@ class MainActivity : SimpleActivity() {
|
|||||||
compareByDescending<Conversation> { config.pinnedConversations.contains(it.threadId.toString()) }
|
compareByDescending<Conversation> { config.pinnedConversations.contains(it.threadId.toString()) }
|
||||||
.thenByDescending { it.date }
|
.thenByDescending { it.date }
|
||||||
).toMutableList() as ArrayList<Conversation>
|
).toMutableList() as ArrayList<Conversation>
|
||||||
conversations_list.beVisibleIf(hasConversations)
|
|
||||||
|
conversations_fastscroller.beVisibleIf(hasConversations)
|
||||||
no_conversations_placeholder.beGoneIf(hasConversations)
|
no_conversations_placeholder.beGoneIf(hasConversations)
|
||||||
no_conversations_placeholder_2.beGoneIf(hasConversations)
|
no_conversations_placeholder_2.beGoneIf(hasConversations)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user