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()
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user