mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Don't start DaR timer view until it has actually started
This commit is contained in:
parent
246e8bf2a2
commit
a326c47e56
@ -346,8 +346,7 @@ class VisibleMessageView : LinearLayout {
|
||||
|
||||
private fun updateExpirationTimer(message: MessageRecord) {
|
||||
if (!message.isOutgoing) binding.messageStatusTextView.bringToFront()
|
||||
val expireStarted = message.expireStarted.takeIf { it > 0 } ?: SnodeAPI.nowWithOffset
|
||||
binding.expirationTimerView.setExpirationTime(expireStarted, message.expiresIn)
|
||||
binding.expirationTimerView.setExpirationTime(message.expireStarted, message.expiresIn)
|
||||
}
|
||||
|
||||
private fun handleIsSelectedChanged() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user