MusicControls: Stable Compat

This commit is contained in:
thororen1234 2026-02-18 22:49:01 -05:00
parent 0221841993
commit dfcfea3b0d
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ export default definePlugin({
find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));",
replacement: {
// react.jsx)(AccountPanel, { ..., showTaglessAccountPanel: blah })
match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,occluded:)/,
match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,(occluded|hidePrivateData):)/,
// react.jsx(WrapperComponent, { VencordOriginal: AccountPanel, ...
replace: "$self.PanelWrapper,{VencordOriginal:$1,"
},