mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 22:23:02 -04:00
CustomUserColors: Fallback to prevent crash
This commit is contained in:
parent
a687be4a28
commit
dad1464d4f
1 changed files with 4 additions and 4 deletions
|
@ -103,12 +103,12 @@ export default definePlugin({
|
|||
find: "!1,wrapContent",
|
||||
replacement: [
|
||||
{
|
||||
match: /(innerClassName:\i)(\}=\i)/,
|
||||
replace: "$1,style$2"
|
||||
match: /(\}=\i)/,
|
||||
replace: ",style$1"
|
||||
},
|
||||
{
|
||||
match: /(nameAndDecorators,)/,
|
||||
replace: "$1style,"
|
||||
match: /(?<=nameAndDecorators,)/,
|
||||
replace: "style:style||{},"
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue