mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-21 11:29:29 +08:00
ignore bindings notification callback
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
parent
ad749721e9
commit
d9af6dec32
@ -60,6 +60,7 @@ func (ns *Service) ServiceName() string {
|
||||
|
||||
// OnNotificationResponse registers a callback function that will be called when
|
||||
// a notification response is received from the user.
|
||||
//wails:ignore
|
||||
func (ns *Service) OnNotificationResponse(callback func(response NotificationResponse)) {
|
||||
ns.callbackLock.Lock()
|
||||
defer ns.callbackLock.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user