mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05: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,
|
||||
find: "this.isJoinableActivity()||",
|
||||
find: "this.renderEmbeddedActivity()",
|
||||
replacement: {
|
||||
match: /(this\.isJoinableActivity\(\).{0,200}children:.{0,50})"div"/,
|
||||
replace: "$1$self.WrapperComponent"
|
||||
match: /(?<=children.{0,50})"div"(?=.{0,500}this\.renderEmbeddedActivity\(\))/,
|
||||
replace: "$self.WrapperComponent"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue