From d1d8ca5791c4cf1938ca0b223bcb5e3326a5657a Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 3 Apr 2025 16:11:36 -0400 Subject: [PATCH] Tests Tests Tests --- src/plugins/consoleJanitor/index.tsx | 8 ++++---- src/plugins/customidle/index.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/consoleJanitor/index.tsx b/src/plugins/consoleJanitor/index.tsx index ab0ac9bb..1dbc3b07 100644 --- a/src/plugins/consoleJanitor/index.tsx +++ b/src/plugins/consoleJanitor/index.tsx @@ -148,15 +148,15 @@ export default definePlugin({ { find: "is not a valid locale.", replacement: { - match: /void \i\.error\(""\.concat\(\i," is not a valid locale."\)\)/, - replace: "" + match: /\i\.error\(""\.concat\(\i," is not a valid locale."\)\)/, + replace: '""' } }, { find: '"AppCrashedFatalReport: getLastCrash not supported."', replacement: { - match: /void console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/, - replace: "" + match: /console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/, + replace: '""' } }, { diff --git a/src/plugins/customidle/index.ts b/src/plugins/customidle/index.ts index 5ff0c81a..97a77973 100644 --- a/src/plugins/customidle/index.ts +++ b/src/plugins/customidle/index.ts @@ -49,7 +49,7 @@ export default definePlugin({ replace: "$self.handleOnline()" }, { - match: /(setInterval\(\i,30\*)\i\.\i/, + match: /(setInterval\(\i,\.25\*)\i\.\i/, replace: "$1$self.getIntervalDelay()" // For web installs } ]