From 1742bb60204a21cc11c6c19fdcd699be26cac383 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 20 Dec 2022 12:18:15 -0300 Subject: [PATCH] Fix StartupTimings (#353) --- src/plugins/startupTimings/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/startupTimings/index.tsx b/src/plugins/startupTimings/index.tsx index 1dd71395e..2ab00a646 100644 --- a/src/plugins/startupTimings/index.tsx +++ b/src/plugins/startupTimings/index.tsx @@ -28,8 +28,8 @@ export default definePlugin({ patches: [{ find: "PAYMENT_FLOW_MODAL_TEST_PAGE,", replacement: { - match: /({section:[\w.]+?\.PAYMENT_FLOW_MODAL_TEST_PAGE,)/, - replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$1' + match: /{section:.{1,2}\..{1,3}\.PAYMENT_FLOW_MODAL_TEST_PAGE/, + replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$&' } }], StartupTimingPage: LazyComponent(() => require("./StartupTimingPage").default)