mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
fix(audioPlaybackSpeed): make compatible with VoiceDownload
This commit is contained in:
parent
28767d97f4
commit
5347356634
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED",
|
find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED",
|
||||||
replacement: {
|
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)"
|
replace: "$&,$self.playbackSpeedComponent($1)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue