Fix "ignoreNewsSection" patch

This commit is contained in:
redphx
2025-06-06 07:29:53 +07:00
parent fad91d14a6
commit 67c2fb125f
3 changed files with 3 additions and 3 deletions

View File

@@ -702,7 +702,7 @@ true` + text;
// Don't render News section
ignoreNewsSection(str: string) {
let index = str.indexOf('Logger("CarouselRow")');
let index = str.indexOf('("CarouselRow"))');
index > -1 && (index = PatcherUtils.lastIndexOf(str, 'const ', index, 200));
if (index < 0) {
return false;