Make sure we can display both Live and Static locations in ShowLocation
This commit is contained in:
parent
e1e7c264ed
commit
ffad69b7b9
16 changed files with 168 additions and 67 deletions
|
|
@ -15,6 +15,7 @@ import io.element.android.libraries.matrix.api.media.FileInfo
|
|||
import io.element.android.libraries.matrix.api.media.ImageInfo
|
||||
import io.element.android.libraries.matrix.api.media.MediaSource
|
||||
import io.element.android.libraries.matrix.api.media.VideoInfo
|
||||
import io.element.android.libraries.matrix.api.room.location.AssetType
|
||||
|
||||
@Immutable
|
||||
sealed interface MessageType
|
||||
|
|
@ -55,6 +56,7 @@ data class LocationMessageType(
|
|||
val body: String,
|
||||
val geoUri: String,
|
||||
val description: String?,
|
||||
val assetType: AssetType?,
|
||||
) : MessageType
|
||||
|
||||
data class AudioMessageType(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue