From b0447cf3429c0ebd104264f9844ff82f3a7b88ac Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 6 Nov 2023 12:23:09 +1030 Subject: [PATCH] Fix gap under messages --- .../securesms/conversation/v2/messages/VisibleMessageView.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt index db437431c7..3f128652d4 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VisibleMessageView.kt @@ -21,6 +21,7 @@ import androidx.appcompat.app.AppCompatActivity import androidx.constraintlayout.widget.ConstraintLayout import androidx.core.content.ContextCompat import androidx.core.os.bundleOf +import androidx.core.view.isGone import androidx.core.view.isVisible import androidx.core.view.marginBottom import dagger.hilt.android.AndroidEntryPoint @@ -249,6 +250,8 @@ class VisibleMessageView : LinearLayout { .apply { horizontalBias = if (message.isOutgoing) 1f else 0f } } + binding.expirationTimerView.isGone = true + if (message.isOutgoing || disappearing) { val (iconID, iconColor, textId, contentDescription) = getMessageStatusImage(message) textId?.let(binding.messageStatusTextView::setText)