Skip to content

Commit 7429a0c

Browse files
authored
Update MainActivity.kt
1 parent b45e699 commit 7429a0c

File tree

1 file changed

+4
-4
lines changed
  • app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,17 +357,17 @@ class MainActivity : SimpleActivity() {
357357

358358
if (cached && config.appRunCount == 1) {
359359
// there are no cached conversations on the first run so we show the loading placeholder and progress until we are done loading from telephony
360-
showOrHideProgress(show = conversations.isEmpty())
360+
showOrHideProgress(conversations.isEmpty())
361361
} else {
362-
showOrHideProgress(show = false)
363-
showOrHidePlaceholder(show = conversations.isEmpty())
362+
showOrHideProgress(false)
363+
showOrHidePlaceholder(conversations.isEmpty())
364364
}
365365

366366
try {
367367
getOrCreateConversationsAdapter().apply {
368368
updateConversations(sortedConversations) {
369369
if (!cached) {
370-
showOrHidePlaceholder(show = currentList.isEmpty())
370+
showOrHidePlaceholder(currentList.isEmpty())
371371
}
372372
}
373373
}

0 commit comments

Comments
 (0)