diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt
index 1a41e316..29d8fb7c 100644
--- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt
@@ -111,8 +111,8 @@ class MainActivity : SimpleActivity() {
search_holder.setBackgroundColor(getProperBackgroundColor())
val properPrimaryColor = getProperPrimaryColor()
- start_conversation_placeholder.setTextColor(properPrimaryColor)
- start_conversation_placeholder.underlineText()
+ no_conversations_placeholder_2.setTextColor(properPrimaryColor)
+ no_conversations_placeholder_2.underlineText()
conversations_fastscroller.updateColors(properPrimaryColor)
conversations_progress_bar.setIndicatorColor(properPrimaryColor)
conversations_progress_bar.trackColor = properPrimaryColor.adjustAlpha(LOWER_ALPHA)
@@ -239,7 +239,7 @@ class MainActivity : SimpleActivity() {
storeStateVariables()
getCachedConversations()
- start_conversation_placeholder.setOnClickListener {
+ no_conversations_placeholder_2.setOnClickListener {
launchNewConversation()
}
@@ -378,19 +378,19 @@ class MainActivity : SimpleActivity() {
private fun showOrHideProgress(show: Boolean) {
if (show) {
conversations_progress_bar.show()
- conversations_placeholder.beVisible()
- conversations_placeholder.text = getString(R.string.loading_messages)
+ no_conversations_placeholder.beVisible()
+ no_conversations_placeholder.text = getString(R.string.loading_messages)
} else {
conversations_progress_bar.hide()
- conversations_placeholder.beGone()
+ no_conversations_placeholder.beGone()
}
}
private fun showOrHidePlaceholder(show: Boolean) {
conversations_fastscroller.beGoneIf(show)
- conversations_placeholder.beVisibleIf(show)
- conversations_placeholder.text = getString(R.string.no_conversations_found)
- start_conversation_placeholder.beVisibleIf(show)
+ no_conversations_placeholder.beVisibleIf(show)
+ no_conversations_placeholder.text = getString(R.string.no_conversations_found)
+ no_conversations_placeholder_2.beVisibleIf(show)
}
private fun fadeOutSearch() {
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 5444a08e..221108ee 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -42,7 +42,7 @@
tools:visibility="visible" />