Update live location shares when reaching timeout (before actual stop event)
This commit is contained in:
parent
11866afb03
commit
704ddc9132
17 changed files with 331 additions and 64 deletions
|
|
@ -142,7 +142,7 @@ class ShowLocationPresenter(
|
|||
val member = members.find { it.userId == share.userId }
|
||||
val displayName = member?.getBestName() ?: share.userId.value
|
||||
val avatarUrl = member?.avatarUrl
|
||||
val relativeTime = dateFormatter.format(timestamp = share.lastLocation?.timestamp, mode = DateFormatterMode.Full, useRelative = true)
|
||||
val relativeTime = dateFormatter.format(timestamp = lastLocation.timestamp, mode = DateFormatterMode.Full, useRelative = true)
|
||||
val formattedTimestamp = stringProvider.getString(
|
||||
CommonStrings.screen_static_location_sheet_timestamp_description,
|
||||
relativeTime
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue