show a Loading Messages placeholder text at first launch
This commit is contained in:
parent
e7d8f703da
commit
1a8e8f9cf4
|
@ -222,6 +222,11 @@ class MainActivity : SimpleActivity() {
|
|||
no_conversations_placeholder.beVisibleIf(!hasConversations)
|
||||
no_conversations_placeholder_2.beVisibleIf(!hasConversations)
|
||||
|
||||
if (!hasConversations && config.appRunCount == 1) {
|
||||
no_conversations_placeholder.text = getString(R.string.loading_messages)
|
||||
no_conversations_placeholder_2.beGone()
|
||||
}
|
||||
|
||||
val currAdapter = conversations_list.adapter
|
||||
if (currAdapter == null) {
|
||||
ConversationsAdapter(this, conversations, conversations_list, conversations_fastscroller) {
|
||||
|
|
Loading…
Reference in New Issue