Fix some patches

This commit is contained in:
thororen1234 2026-07-17 21:48:12 -04:00
parent b7ca60cf74
commit e16946bde2
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -122,7 +122,7 @@ export default definePlugin({
find: '("UserProfileModalV2EditingPanel")',
replacement: [
{
match: /"inline"===.{0,100}#{intl::Zenogr::raw}\)/,
match: /"inline"===.{0,100}bannerErrorMessage:\i\}\)/,
replace: "$self.ExperimentDecorSection(),$&"
}
]

View file

@ -223,7 +223,7 @@ export default definePlugin({
replacement: [
{
match: /\(0,\i\.jsxs?\)\(\i,\{heading:.{0,40}#{intl::USER_SETTINGS_PROFILE_EFFECT}/,
replace: "$self.addCopy3y3Button(),$&"
replace: " $self.addCopy3y3Button(),$&"
}
]
}

View file

@ -55,7 +55,7 @@ export default definePlugin({
},
{
predicate: () => !settings.store.noQuickReacts,
match: /\i(\?null:\(0,\i\.jsxs\).{0,100}message:\i\}\)),\(0,\i\.jsxs?\)\(\i\.\i,\{\}\)/,
match: /\i(\?null:\(0,\i\.jsxs\).{0,100}message:\i\}\)),\(0,\i\.jsxs?\)\(\i,\{\}\)/,
replace: "false$1"
},
]

View file

@ -200,7 +200,7 @@ export default definePlugin({
{
find: "return{avatarProps:{",
replacement: {
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,50}?)return null==/,
match: /(?<=avatarProps:(\i),eventHandlers:(\i).{0,60}?)return null==/,
replace: 'Object.assign($2,{style:{cursor:"pointer"},onClick:()=>$self.openAvatar($1.src)});$&',
}
},