Fix Broken Patches
This commit is contained in:
parent
3ac2b24971
commit
3701c476fb
3 changed files with 4 additions and 4 deletions
|
|
@ -150,7 +150,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: '[role="tab"][aria-disabled="false"]',
|
find: ".getLastFocusableElement()}",
|
||||||
predicate: () => settings.store.exportContacts,
|
predicate: () => settings.store.exportContacts,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /("aria-label":(\i).{0,25}children:null!=\i)\?(this\.renderChildren\(\i\)):null/,
|
match: /("aria-label":(\i).{0,25}children:null!=\i)\?(this\.renderChildren\(\i\)):null/,
|
||||||
|
|
|
||||||
|
|
@ -323,9 +323,9 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
// forces an early return on the file size limit nitro upsell modal
|
// forces an early return on the file size limit nitro upsell modal
|
||||||
{
|
{
|
||||||
find: "#{intl::tRuxk9::raw}",
|
find: "#{intl::UPLOAD_AREA_TOO_LARGE_HELP_PREMIUM_TIER_1}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=MAX_FILE_SIZE_250_MB.{0,250})Array\.from\(\i\)\.some/,
|
match: /(?<=#{intl::UPLOAD_AREA_TOO_LARGE_HELP}.{0,250})Array\.from\(\i\)\.some/,
|
||||||
replace: "$self.shouldBypassDiscordUploadSizeCheck()?false:$&"
|
replace: "$self.shouldBypassDiscordUploadSizeCheck()?false:$&"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "#{intl::STATUS_MENU_LABEL}",
|
find: "#{intl::STATUS_MENU_LABEL}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(popoutContainerRef:\i\}\))(?=\])/,
|
match: /(popoutContainerRef:\i,forceOpen:\i\}\))(?=\])/,
|
||||||
replace: "$1,$self.render()"
|
replace: "$1,$self.render()"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue