NoMosaic: Fix Patch

This commit is contained in:
thororen1234 2026-06-24 00:36:50 -04:00
parent 1c7dda33f6
commit 84153993a7
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -52,8 +52,8 @@ export default definePlugin({
replace: "false"
},
{
match: /\i\.length<\i\.length/,
replace: "false",
match: /return \i\.length<\i\.length/,
replace: "return false",
predicate: () => settings.store.hideArrow
}
]

View file

@ -30,8 +30,8 @@ export default definePlugin({
{
find: '"PLAINTEXT_PREVIEW":"OTHER"',
replacement: {
match: /"IMAGE"===\i\|\|"VIDEO"===\i\|\|"CLIP"===\i/,
replace: "false"
match: /return"IMAGE"===\i\|\|"VIDEO"===\i\|\|"CLIP"===\i/,
replace: "return false"
}
},
{