mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -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",
|
find: "!1,wrapContent",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /(innerClassName:\i)(\}=\i)/,
|
match: /(\}=\i)/,
|
||||||
replace: "$1,style$2"
|
replace: ",style$1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /(nameAndDecorators,)/,
|
match: /(?<=nameAndDecorators,)/,
|
||||||
replace: "$1style,"
|
replace: "style:style||{},"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue