Skip to content

Commit 4157f75

Browse files
committed
hide the proper view if no conversations are found
1 parent ea05105 commit 4157f75

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ android {
5656
}
5757

5858
dependencies {
59-
implementation 'com.github.SimpleMobileTools:Simple-Commons:3bbf37c7f9'
59+
implementation 'com.github.SimpleMobileTools:Simple-Commons:df457fe86a'
6060
implementation 'org.greenrobot:eventbus:3.2.0'
6161
implementation 'com.klinkerapps:android-smsmms:5.2.6'
6262
implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a'

app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ class MainActivity : SimpleActivity() {
251251
compareByDescending<Conversation> { config.pinnedConversations.contains(it.threadId.toString()) }
252252
.thenByDescending { it.date }
253253
).toMutableList() as ArrayList<Conversation>
254-
conversations_list.beVisibleIf(hasConversations)
254+
255+
conversations_fastscroller.beVisibleIf(hasConversations)
255256
no_conversations_placeholder.beGoneIf(hasConversations)
256257
no_conversations_placeholder_2.beGoneIf(hasConversations)
257258

0 commit comments

Comments
 (0)