From 4cfa8002d6f4989f41c558d7be6da0d6edc24bb1 Mon Sep 17 00:00:00 2001 From: charles Date: Wed, 21 Dec 2022 12:48:16 +1100 Subject: [PATCH] Refactor --- .../securesms/conversation/v2/ConversationActivityV2.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt index 413f8e8b34..162b6d49e4 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/ConversationActivityV2.kt @@ -554,7 +554,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe val recipient = viewModel.recipient ?: return if (viewModel.recipient?.disappearingState == DisappearingState.LEGACY && viewModel.expirationConfiguration?.isEnabled == true && - ExpirationConfiguration.isNewConfigEnabled + !ExpirationConfiguration.isNewConfigEnabled ) { binding?.outdatedBannerTextView?.text = resources.getString(R.string.activity_conversation_outdated_client_banner_text, recipient.name)