hide the proper view if no conversations are found
This commit is contained in:
parent
0deb852f2f
commit
d66c435e77
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:0684fdde38'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:3d04cf87bd'
|
||||||
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'
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@ class MainActivity : SimpleActivity() {
|
||||||
try {
|
try {
|
||||||
(currAdapter as ConversationsAdapter).updateConversations(sortedConversations)
|
(currAdapter as ConversationsAdapter).updateConversations(sortedConversations)
|
||||||
if (currAdapter.conversations.isEmpty()) {
|
if (currAdapter.conversations.isEmpty()) {
|
||||||
conversations_list.beGone()
|
conversations_fastscroller.beGone()
|
||||||
no_conversations_placeholder.text = getString(R.string.no_conversations_found)
|
no_conversations_placeholder.text = getString(R.string.no_conversations_found)
|
||||||
no_conversations_placeholder.beVisible()
|
no_conversations_placeholder.beVisible()
|
||||||
no_conversations_placeholder_2.beVisible()
|
no_conversations_placeholder_2.beVisible()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue