mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Refactor
This commit is contained in:
parent
7d25fd9f4c
commit
4cfa8002d6
@ -554,7 +554,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
val recipient = viewModel.recipient ?: return
|
val recipient = viewModel.recipient ?: return
|
||||||
if (viewModel.recipient?.disappearingState == DisappearingState.LEGACY &&
|
if (viewModel.recipient?.disappearingState == DisappearingState.LEGACY &&
|
||||||
viewModel.expirationConfiguration?.isEnabled == true &&
|
viewModel.expirationConfiguration?.isEnabled == true &&
|
||||||
ExpirationConfiguration.isNewConfigEnabled
|
!ExpirationConfiguration.isNewConfigEnabled
|
||||||
) {
|
) {
|
||||||
binding?.outdatedBannerTextView?.text =
|
binding?.outdatedBannerTextView?.text =
|
||||||
resources.getString(R.string.activity_conversation_outdated_client_banner_text, recipient.name)
|
resources.getString(R.string.activity_conversation_outdated_client_banner_text, recipient.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user