From 2183d2d29d7f809e0e55adbb0540647a6efd5920 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 25 Oct 2023 23:59:38 +0200 Subject: [PATCH] fix TimeBarAllActivities --- src/plugins/timeBarAllActivities/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/timeBarAllActivities/index.ts b/src/plugins/timeBarAllActivities/index.ts index 223f1828..ff8fd8b1 100644 --- a/src/plugins/timeBarAllActivities/index.ts +++ b/src/plugins/timeBarAllActivities/index.ts @@ -25,10 +25,10 @@ export default definePlugin({ authors: [Devs.obscurity], patches: [ { - find: "renderTimeBar=function", + find: "}renderTimeBar(", replacement: { - match: /renderTimeBar=function\((.{1,3})\){.{0,50}?var/, - replace: "renderTimeBar=function($1){var" + match: /renderTimeBar\((.{1,3})\){.{0,50}?let/, + replace: "renderTimeBar($1){let" } } ],