MoreStickers: Fix For Stable As Well

This commit is contained in:
thororen1234 2025-07-26 02:29:43 -04:00
parent 0f5ba83daf
commit e898c522d7
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ export default definePlugin({
{
find: ".stickerButton)},",
replacement: [{
match: /(children:\(0,\i\.jsx\)\()(.{0,10})({className.{10,30}\.stickerButton)/,
match: /(children:\(0,\i\.jsx\)\()(.{0,20})({className.{10,30}\.stickerButton)/,
replace: "$1arguments[0]?.stickersType?$self.stickerButton:$2$3"
}, {
match: /(\i=)((\i\.useCallback\(\(\)=>\{\(.*?\)\().*?\.STICKER,(\i.{0,25}\]\)))/,