Making sure the unblock banner shows the dialog first (#955)

pull/1710/head
ThomasSession 2 months ago committed by GitHub
parent 57a3c06923
commit a5ad390cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -824,7 +824,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
val recipient = viewModel.recipient?.takeUnless { it.isGroupOrCommunityRecipient } ?: return
binding.blockedBannerTextView.text = applicationContext.getString(R.string.blockBlockedDescription)
binding.blockedBanner.isVisible = recipient.isBlocked
binding.blockedBanner.setOnClickListener { viewModel.unblock() }
binding.blockedBanner.setOnClickListener { unblock() }
}
private fun setUpOutdatedClientBanner() {

Loading…
Cancel
Save