fix TimeBarAllActivities

This commit is contained in:
Vendicated 2023-10-25 23:59:38 +02:00
parent 722dcb033e
commit 2183d2d29d
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -25,10 +25,10 @@ export default definePlugin({
authors: [Devs.obscurity], authors: [Devs.obscurity],
patches: [ patches: [
{ {
find: "renderTimeBar=function", find: "}renderTimeBar(",
replacement: { replacement: {
match: /renderTimeBar=function\((.{1,3})\){.{0,50}?var/, match: /renderTimeBar\((.{1,3})\){.{0,50}?let/,
replace: "renderTimeBar=function($1){var" replace: "renderTimeBar($1){let"
} }
} }
], ],