From 753a6759140c83d89cc39867b3bda039001f7574 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Tue, 12 Apr 2022 12:38:52 +0200 Subject: [PATCH] [merge] Fix voice message rendering Change-Id: I9a02986855a520969232746a79d86e40de7a826c --- .../home/room/detail/timeline/item/MessageVoiceItem.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt index 3db6aaaf9c..d4cf220ecb 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt @@ -91,7 +91,8 @@ abstract class MessageVoiceItem : AbsMessageItem() { holder.progressLayout.isVisible = false } - holder.voicePlaybackWaveform.doOnLayout { + //holder.voicePlaybackWaveform.doOnLayout { + holder.voicePlaybackWaveform.post { onWaveformViewReady(holder) }