From d4f112e4b0cfb8bfd4a7429b57e674d038274fe6 Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Mon, 8 May 2023 09:18:10 +1000 Subject: [PATCH] feat: use blinded message count for banner also --- .../main/java/org/thoughtcrime/securesms/home/HomeActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt index ed06c2dcfc..56a647493f 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/home/HomeActivity.kt @@ -326,7 +326,7 @@ class HomeActivity : PassphraseRequiredActionBarActivity(), } private fun setupMessageRequestsBanner() { - val messageRequestCount = threadDb.unapprovedConversationCount + val messageRequestCount = threadDb.unapprovedConversationCount + threadDb.blindedConversationList.use { it.count } // Set up message requests if (messageRequestCount > 0 && !textSecurePreferences.hasHiddenMessageRequests()) { with(ViewMessageRequestBannerBinding.inflate(layoutInflater)) {