mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix docs
This commit is contained in:
parent
bd5c82ef35
commit
b313f2cee1
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ notifier.SendNotification(notifications.NotificationOptions{
|
|||
ID: "unique-id",
|
||||
Title: "New Calendar Invite",
|
||||
Subtitle: "From: Jane Doe", // Optional
|
||||
Body: "Tap to view the event"
|
||||
Body: "Tap to view the event",
|
||||
})
|
||||
|
||||
```
|
||||
|
|
@ -135,7 +135,7 @@ notifier.SendNotification(notifications.NotificationOptions{
|
|||
ID: "unique-id",
|
||||
Title: "New Calendar Invite",
|
||||
Subtitle: "From: Jane Doe", // Optional
|
||||
Body: "Tap to view the event"
|
||||
Body: "Tap to view the event",
|
||||
Data: map[string]interface{}{
|
||||
"sender": "jane.doe@example.com",
|
||||
"timestamp": "2025-03-10T15:30:00Z",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue