mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 12:23:38 +00:00
Hide disappearing header for note-to-self
This commit is contained in:
parent
14938d2cc0
commit
349247e7f3
@ -697,7 +697,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun setUpOutdatedClientBanner() {
|
private fun setUpOutdatedClientBanner() {
|
||||||
val recipient = viewModel.recipient ?: return
|
val recipient = viewModel.recipient?.takeIf { !it.isLocalNumber } ?: return
|
||||||
if (ExpirationConfiguration.isNewConfigEnabled && recipient.isContactRecipient &&
|
if (ExpirationConfiguration.isNewConfigEnabled && recipient.isContactRecipient &&
|
||||||
recipient.disappearingState == DisappearingState.LEGACY &&
|
recipient.disappearingState == DisappearingState.LEGACY &&
|
||||||
viewModel.expirationConfiguration?.isEnabled == true
|
viewModel.expirationConfiguration?.isEnabled == true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user