From 5347356634811ed4f84f0a7fcd62c5fccd21dabb Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 1 Jun 2024 17:14:38 +0200 Subject: [PATCH] fix(audioPlaybackSpeed): make compatible with VoiceDownload --- src/plugins/audioPlaybackSpeed/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/audioPlaybackSpeed/index.tsx b/src/plugins/audioPlaybackSpeed/index.tsx index c0f4e2956..bd6bd7cde 100644 --- a/src/plugins/audioPlaybackSpeed/index.tsx +++ b/src/plugins/audioPlaybackSpeed/index.tsx @@ -66,7 +66,7 @@ export default definePlugin({ { find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED", replacement: { - match: /useCallback\(\(\)=>\{let \i=(\i).current;.{2300,2800}onVolumeShow:\i,onVolumeHide:\i\}\)/, + match: /useCallback\(\(\)=>\{let \i=(\i).current;.{2300,3000}onVolumeShow:\i,onVolumeHide:\i\}\)/, replace: "$&,$self.playbackSpeedComponent($1)" } },