Skip to content

Commit

Permalink
refactor(mediaPlaybackSpeed): improve find
Browse files Browse the repository at this point in the history
  • Loading branch information
D3SOX committed Jun 19, 2024
1 parent 4d2adfc commit dfe6c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediaPlaybackSpeed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default definePlugin({
patches: [
// voice message embeds
{
find: "--:--",
find: "\"--:--\"",
replacement: {
match: /onVolumeShow:\i,onVolumeHide:\i\}\)(?<=useCallback\(\(\)=>\{let \i=(\i).current;.+?)/,
replace: "$&,$self.playbackSpeedComponent($1)"
Expand Down

0 comments on commit dfe6c2a

Please sign in to comment.