fix(notif): stack overflow due to self recursion

This commit is contained in:
yusing 2025-06-28 14:44:06 +08:00
parent 9d712b91ff
commit 24f949f053

View file

@ -11,7 +11,7 @@ const (
) )
func (c Color) HexString() string { func (c Color) HexString() string {
return fmt.Sprintf("#%x", c) return fmt.Sprintf("#%x", uint(c))
} }
func (c Color) DecString() string { func (c Color) DecString() string {