Credit to omaw

This commit is contained in:
thororen1234 2024-10-18 22:01:20 -04:00
parent 9b44469821
commit 45002e2ad7

View file

@ -82,10 +82,10 @@ export default definePlugin({
}, },
{ {
predicate: () => settings.store.showPanel, predicate: () => settings.store.showPanel,
find: "this.isJoinableActivity()||", find: "this.renderEmbeddedActivity()",
replacement: { replacement: {
match: /(this\.isJoinableActivity\(\).{0,200}children:.{0,50})"div"/, match: /(?<=children.{0,50})"div"(?=.{0,500}this\.renderEmbeddedActivity\(\))/,
replace: "$1$self.WrapperComponent" replace: "$self.WrapperComponent"
} }
} }
], ],