mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-29 04:55:15 +00:00
feat: use blinded message count for banner also
This commit is contained in:
parent
d4d4f81c36
commit
d4f112e4b0
@ -326,7 +326,7 @@ class HomeActivity : PassphraseRequiredActionBarActivity(),
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun setupMessageRequestsBanner() {
|
private fun setupMessageRequestsBanner() {
|
||||||
val messageRequestCount = threadDb.unapprovedConversationCount
|
val messageRequestCount = threadDb.unapprovedConversationCount + threadDb.blindedConversationList.use { it.count }
|
||||||
// Set up message requests
|
// Set up message requests
|
||||||
if (messageRequestCount > 0 && !textSecurePreferences.hasHiddenMessageRequests()) {
|
if (messageRequestCount > 0 && !textSecurePreferences.hasHiddenMessageRequests()) {
|
||||||
with(ViewMessageRequestBannerBinding.inflate(layoutInflater)) {
|
with(ViewMessageRequestBannerBinding.inflate(layoutInflater)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user