From d5c5d5ae35f83d5a55b029ba2a3242f33dd63eb1 Mon Sep 17 00:00:00 2001 From: Federico <38290480+FedeIlLeone@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:25:45 +0200 Subject: [PATCH] fix: more precise notice regex --- src/renderer/coremods/notices/plaintextPatches.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/coremods/notices/plaintextPatches.tsx b/src/renderer/coremods/notices/plaintextPatches.tsx index 79ef73c84..5031d0ad1 100644 --- a/src/renderer/coremods/notices/plaintextPatches.tsx +++ b/src/renderer/coremods/notices/plaintextPatches.tsx @@ -4,7 +4,7 @@ const coremodStr = "replugged.coremods.coremods.notices"; export default [ { - find: /\.content.+?hasNotice/, + find: /hasNotice:\w+,sidebarTheme:\w+/, replacements: [ { match: /(\w+\.base,children:\[)(.+?}\)),/,