mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-11 23:53:03 -04:00
Credit to omaw
This commit is contained in:
parent
9b44469821
commit
45002e2ad7
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue