KeywordNotify: Fix Patches

This commit is contained in:
thororen1234 2025-12-11 15:58:24 -05:00
parent 625ac70fce
commit 41201e05aa
No known key found for this signature in database

View file

@ -328,7 +328,7 @@ export default definePlugin({
find: "#{intl::UNREADS_TAB_LABEL})}",
replacement: [
{
match: /,(\i\?\(0,\i\.jsxs\)\(\i\.\i\i\.Item)/,
match: /,(\i\?\(0,\i\.jsxs?\)\(\i\.\i\i\.Item)/,
replace: ",$self.keywordTabBar()$&"
},
{
@ -338,7 +338,7 @@ export default definePlugin({
]
},
{
find: "location:\"RecentsPopout\"});",
find: ".MENTIONS)});",
replacement: {
match: /:(\i)===\i\.\i\.MENTIONS\?\(0,.+?onJump:(\i)}\)/,
replace: ": $1 === 8 ? $self.tryKeywordMenu($2) $&"