Skip to content

Commit

Permalink
s/any/interface{}
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Apr 1, 2022
1 parent 142b39f commit 20e5a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Notify(title, message, appIcon string) (err error) {
n.New(js.ValueOf(title), opts)
} else {
var f js.Func
f = js.FuncOf(func(this js.Value, args []js.Value) any {
f = js.FuncOf(func(this js.Value, args []js.Value) interface{} {
if args[0].String() == "granted" {
n.New(js.ValueOf(title), opts)
}
Expand Down

0 comments on commit 20e5a4c

Please sign in to comment.