mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
fix(mediaPlaybackSpeed): improve patch
This commit is contained in:
parent
b24c50d213
commit
a8eea4dc7a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default definePlugin({
|
|||
{
|
||||
find: "ComponentActions.VOICE_MESSAGE_PLAYBACK_STARTED",
|
||||
replacement: {
|
||||
match: /useCallback\(\(\)=>\{let \i=(\i).current;.{2300,3000}onVolumeShow:\i,onVolumeHide:\i\}\)/,
|
||||
match: /onVolumeShow:\i,onVolumeHide:\i\}\)(?<=useCallback\(\(\)=>\{let \i=(\i).current;.+?)/,
|
||||
replace: "$&,$self.playbackSpeedComponent($1)"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue