Fix build on windows and mac

This commit is contained in:
Bernd Schoolmann 2024-01-19 05:34:48 +01:00
parent 0ca8c76c4f
commit 965d13b36e
No known key found for this signature in database

View file

@ -2,7 +2,9 @@
package notify
func Notify(title string, body string, actionName string, onclose func()) error {
import "time"
func Notify(title string, body string, actionName string, timeout time.Duration, onclose func()) error {
// no notifications on windows or darwin
return nil
}