mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-16 21:05:29 +02:00
fix(notification): body should be optional on iOS (#1737)
This commit is contained in:
@@ -65,7 +65,7 @@ struct NotificationAttachment: Codable {
|
||||
struct Notification: Decodable {
|
||||
let id: Int
|
||||
var title: String
|
||||
var body: String
|
||||
var body: String?
|
||||
var extra: [String: String]?
|
||||
let schedule: NotificationSchedule?
|
||||
let attachments: [NotificationAttachment]?
|
||||
|
||||
Reference in New Issue
Block a user