From 3bd657611cbc6b3cf3142ae59c39713922d167df Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Wed, 25 Oct 2023 17:36:19 +0200 Subject: [PATCH] fix: StartupTimings (#1869) --- 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 3eec9d0c..c7417f0f 100644 --- a/src/plugins/startupTimings/index.tsx +++ b/src/plugins/startupTimings/index.tsx @@ -25,9 +25,9 @@ export default definePlugin({ description: "Adds Startup Timings to the Settings menu", authors: [Devs.Megu], patches: [{ - find: "PAYMENT_FLOW_MODAL_TEST_PAGE,", + find: "UserSettingsSections.PAYMENT_FLOW_MODAL_TEST_PAGE,", replacement: { - match: /{section:.{1,2}\..{1,3}\.PAYMENT_FLOW_MODAL_TEST_PAGE/, + match: /{section:\i\.UserSettingsSections\.PAYMENT_FLOW_MODAL_TEST_PAGE/, replace: '{section:"StartupTimings",label:"Startup Timings",element:$self.StartupTimingPage},$&' } }],