mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Ensure waveform is not null for voice message.
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ class EventItemFactory @Inject constructor(
|
|||||||
senderAvatar = event.senderProfile.getAvatarUrl(),
|
senderAvatar = event.senderProfile.getAvatarUrl(),
|
||||||
dateSent = dateSent,
|
dateSent = dateSent,
|
||||||
dateSentFull = dateSentFull,
|
dateSentFull = dateSentFull,
|
||||||
waveform = type.details?.waveform,
|
waveform = type.details?.waveform.orEmpty(),
|
||||||
),
|
),
|
||||||
mediaSource = type.source,
|
mediaSource = type.source,
|
||||||
duration = type.info?.duration?.inWholeMilliseconds?.toHumanReadableDuration(),
|
duration = type.info?.duration?.inWholeMilliseconds?.toHumanReadableDuration(),
|
||||||
|
|||||||
Reference in New Issue
Block a user