From a5f582670b662a67ff79086cecd486d4bcb3472e Mon Sep 17 00:00:00 2001 From: ThomasSession Date: Mon, 14 Oct 2024 11:30:51 +1100 Subject: [PATCH] Syncing state diaplays as sent Syncing happens in the bg so the user doesn't need to know of it hence the status can display as "Sent" during the syncing phase. Resyncing, in case it happens, can display the "Syncing" status as it would happen after a syncing error. --- .../securesms/conversation/v2/messages/VisibleMessageView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 0176ea5dbd..f4ace02e1a 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 @@ -410,7 +410,7 @@ class VisibleMessageView : FrameLayout { ) } } - message.isSyncing || message.isResyncing -> + message.isResyncing -> MessageStatusInfo( R.drawable.ic_delivery_status_sending, context.getColorFromAttr(R.attr.message_status_color), @@ -422,7 +422,7 @@ class VisibleMessageView : FrameLayout { context.getColorFromAttr(R.attr.message_status_color), R.string.read ) - message.isSent -> + message.isSyncing || message.isSent -> // syncing should happen silently in the bg so we can mark it as sent MessageStatusInfo( R.drawable.ic_delivery_status_sent, context.getColorFromAttr(R.attr.message_status_color),