mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
set default action id on MATE
This commit is contained in:
parent
e46abdc793
commit
2cb0dac648
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue