Fix StartupTimings (#353)
This commit is contained in:
parent
0743c1215e
commit
1742bb6020
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ export default definePlugin({
|
||||||
patches: [{
|
patches: [{
|
||||||
find: "PAYMENT_FLOW_MODAL_TEST_PAGE,",
|
find: "PAYMENT_FLOW_MODAL_TEST_PAGE,",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /({section:[\w.]+?\.PAYMENT_FLOW_MODAL_TEST_PAGE,)/,
|
match: /{section:.{1,2}\..{1,3}\.PAYMENT_FLOW_MODAL_TEST_PAGE/,
|
||||||
replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$1'
|
replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$&'
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
StartupTimingPage: LazyComponent(() => require("./StartupTimingPage").default)
|
StartupTimingPage: LazyComponent(() => require("./StartupTimingPage").default)
|
||||||
|
|
Loading…
Reference in a new issue