From 58c6611abe4f8416ce022f79bc0c9a8fb5ad84ad Mon Sep 17 00:00:00 2001 From: V Date: Mon, 27 Nov 2023 16:05:25 +0100 Subject: [PATCH] VoiceMessages: fix preview being blank --- src/plugins/voiceMessages/VoicePreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/voiceMessages/VoicePreview.tsx b/src/plugins/voiceMessages/VoicePreview.tsx index 0976f794..9c77d832 100644 --- a/src/plugins/voiceMessages/VoicePreview.tsx +++ b/src/plugins/voiceMessages/VoicePreview.tsx @@ -25,7 +25,7 @@ interface VoiceMessageProps { src: string; waveform: string; } -const VoiceMessage = findComponentByCodeLazy("waveform:"); +const VoiceMessage = findComponentByCodeLazy("waveform:", "onVolumeChange"); export type VoicePreviewOptions = { src?: string;