fix TimeBarAllActivities

This commit is contained in:
Vendicated 2023-10-25 23:59:38 +02:00
parent 722dcb033e
commit 2183d2d29d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: D66986BAF75ECF18

View file

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