1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-09 09:26:22 +00:00

noSystemBadge: fix (#1914)

This commit is contained in:
AutumnVN 2023-10-28 07:20:29 +07:00 committed by GitHub
parent b3311c6f12
commit 7f17e70697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,15 +25,15 @@ export default definePlugin({
authors: [Devs.rushii],
patches: [
{
find: "setSystemTrayApplications:function",
find: ",setSystemTrayApplications",
replacement: [
{
match: /setBadge:function.+?},/,
replace: "setBadge:function(){},"
match: /setBadge\(\i\).+?},/,
replace: "setBadge(){},"
},
{
match: /setSystemTrayIcon:function.+?},/,
replace: "setSystemTrayIcon:function(){},"
match: /setSystemTrayIcon\(\i\).+?},/,
replace: "setSystemTrayIcon(){},"
}
]
}