fix: StartupTimings (#1869)

This commit is contained in:
redstonekasi 2023-10-25 17:36:19 +02:00 committed by V
parent b659d4e9c1
commit 3bd657611c

View file

@ -25,9 +25,9 @@ export default definePlugin({
description: "Adds Startup Timings to the Settings menu", description: "Adds Startup Timings to the Settings menu",
authors: [Devs.Megu], authors: [Devs.Megu],
patches: [{ patches: [{
find: "PAYMENT_FLOW_MODAL_TEST_PAGE,", find: "UserSettingsSections.PAYMENT_FLOW_MODAL_TEST_PAGE,",
replacement: { 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},$&' replace: '{section:"StartupTimings",label:"Startup Timings",element:$self.StartupTimingPage},$&'
} }
}], }],