5
0
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:
popaprozac 2025-03-14 19:13:58 -07:00
parent e46abdc793
commit 2cb0dac648

View File

@ -278,6 +278,10 @@ func (n *internalNotifier) handleActionInvoked(systemID uint32, actionKey string
n.Unlock() n.Unlock()
if notifID != "" && NotificationService != nil { if notifID != "" && NotificationService != nil {
if actionKey == "default" {
actionKey = DefaultActionIdentifier
}
// First, send the action response with the user data // First, send the action response with the user data
response := NotificationResponse{ response := NotificationResponse{
ID: notifID, ID: notifID,