Fix Patch
Some checks are pending
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-06-13 18:00:12 -04:00
parent 5c981b6c69
commit ade1454c62
No known key found for this signature in database

View file

@ -37,8 +37,8 @@ export default definePlugin({
match: /(children:\(0,\i\.jsx\)\()(.{0,10})({innerClassName.{10,30}\.stickerButton)/,
replace: "$1arguments[0]?.stickersType?$self.stickerButton:$2$3"
}, {
match: /(\i=)((\i\.useCallback\(\(\)=>\{\(.*?\)\().*?\.STICKER,(\i.{0,10}));/,
replace: '$1arguments[0]?.stickersType?$3"stickers+",$4:$2;'
match: /(\i=)((\i\.useCallback\(\(\)=>\{\(.*?\)\().*?\.STICKER,(\i.{0,25}\]\)))/,
replace: '$1arguments[0]?.stickersType?$3"stickers+",$4:$2'
}, {
match: /(\i)=((\i)===\i\.\i\.STICKER)/,
replace: "$1=arguments[0].stickersType?($3===arguments[0].stickersType):($2)"