mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-10 22:19:46 +08:00
set default action id on MATE
This commit is contained in:
parent
e46abdc793
commit
2cb0dac648
@ -278,6 +278,10 @@ func (n *internalNotifier) handleActionInvoked(systemID uint32, actionKey string
|
||||
n.Unlock()
|
||||
|
||||
if notifID != "" && NotificationService != nil {
|
||||
if actionKey == "default" {
|
||||
actionKey = DefaultActionIdentifier
|
||||
}
|
||||
|
||||
// First, send the action response with the user data
|
||||
response := NotificationResponse{
|
||||
ID: notifID,
|
||||
|
Loading…
Reference in New Issue
Block a user