mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
add id to macOS payload
This commit is contained in:
parent
10ae1f6029
commit
a4c4ab6c8f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
|
|||
|
||||
NSMutableDictionary *payload = [NSMutableDictionary dictionary];
|
||||
|
||||
[payload setObject:response.notification.request.identifier forKey:@"identifier"];
|
||||
[payload setObject:response.notification.request.identifier forKey:@"id"];
|
||||
[payload setObject:response.actionIdentifier forKey:@"actionIdentifier"];
|
||||
[payload setObject:response.notification.request.content.title ?: @"" forKey:@"title"];
|
||||
[payload setObject:response.notification.request.content.body ?: @"" forKey:@"body"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue