Fix some namings after rebase

This commit is contained in:
Maxime NATUREL 2022-05-02 14:56:36 +02:00
parent b577f6ab8e
commit 3a36762632
3 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ class LiveLocationShareMessageItemFactory @Inject constructor(
}
private fun getEndOfLiveDateTime(liveLocationShareSummaryData: LiveLocationShareSummaryData): LocalDateTime? {
return liveLocationShareSummaryData.endOfLiveTimestampAsMilliseconds?.let { DateProvider.toLocalDateTime(timestamp = it) }
return liveLocationShareSummaryData.endOfLiveTimestampMillis?.let { DateProvider.toLocalDateTime(timestamp = it) }
}
private sealed class LiveLocationShareViewState {

View File

@ -193,7 +193,7 @@ class MessageInformationDataFactory @Inject constructor(private val session: Ses
return event.annotations?.liveLocationShareAggregatedSummary?.let { summary ->
LiveLocationShareSummaryData(
isActive = summary.isActive,
endOfLiveTimestampAsMilliseconds = summary.endOfLiveTimestampAsMilliseconds,
endOfLiveTimestampMillis = summary.endOfLiveTimestampMillis,
lastGeoUri = summary.lastLocationDataContent?.getBestLocationInfo()?.geoUri
)
}

View File

@ -104,7 +104,7 @@ data class PollVoteSummaryData(
@Parcelize
data class LiveLocationShareSummaryData(
val isActive: Boolean?,
val endOfLiveTimestampAsMilliseconds: Long?,
val endOfLiveTimestampMillis: Long?,
val lastGeoUri: String?,
) : Parcelable