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 29d8fb7c..37764fcd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt @@ -357,17 +357,17 @@ class MainActivity : SimpleActivity() { if (cached && config.appRunCount == 1) { // there are no cached conversations on the first run so we show the loading placeholder and progress until we are done loading from telephony - showOrHideProgress(show = conversations.isEmpty()) + showOrHideProgress(conversations.isEmpty()) } else { - showOrHideProgress(show = false) - showOrHidePlaceholder(show = conversations.isEmpty()) + showOrHideProgress(false) + showOrHidePlaceholder(conversations.isEmpty()) } try { getOrCreateConversationsAdapter().apply { updateConversations(sortedConversations) { if (!cached) { - showOrHidePlaceholder(show = currentList.isEmpty()) + showOrHidePlaceholder(currentList.isEmpty()) } } }