CustomUserColors: Fallback to prevent crash
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run
Release / Build Equicord (push) Waiting to run

This commit is contained in:
thororen1234 2025-03-12 19:10:36 -04:00
parent a687be4a28
commit dad1464d4f
No known key found for this signature in database

View file

@ -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||{},"
}, },
], ],
}, },