propper count signature

This commit is contained in:
Cookie 2024-12-14 17:23:29 -05:00 committed by GitHub
parent 310e661326
commit cab6ba5e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ export function setBadgeCount(count: number) {
? "application://dev.vencord.Vesktop.desktop" // flatpak handling
: "application://vesktop.desktop",
[
["count", ["i", count === -1 ? 0 : count]],
["count", ["x", count === -1 ? 0 : count]],
["count-visible", ["b", count !== 0]]
]
]