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.
pull/1685/head
ThomasSession 6 months ago
parent 36d0ea99e2
commit a5f582670b

@ -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),

Loading…
Cancel
Save