go-toast

Send toast notifications in Windows
Log | Files | Refs | README | LICENSE

commit 3126322d89d19072d4e8b6e785173ecf4f5f737d
parent d1b15c7028877de4e826be767f6f830f82ce06eb
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Tue, 21 Mar 2023 18:01:17 +0800

toast: avoid setting default backgroundcolor

This is not strictly needed.

Signed-off-by: Jack Mordaunt <jackmordaunt.dev@gmail.com>

Diffstat:
Mtoast.go | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/toast.go b/toast.go @@ -181,9 +181,6 @@ func (n *Notification) applyDefaults() { if n.Audio == "" { n.Audio = Default } - if n.IconBackgroundColor == "" { - n.IconBackgroundColor = "FFFFFFFF" - } } func (n *Notification) buildXML() (string, error) {