mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-26 17:26:22 +00:00
fix: StartupTimings (#1869)
This commit is contained in:
parent
3f85b9d3f8
commit
a1bece2584
1 changed files with 2 additions and 2 deletions
|
@ -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},$&'
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Reference in a new issue