去掉 category

This commit is contained in:
Fin 2024-12-11 18:01:51 +08:00
parent f155f655c7
commit 3c78e11125
4 changed files with 1 additions and 6 deletions

View File

@ -12,7 +12,6 @@ import UIKit
class PreviewModel: NSObject {
var title: String?
var body: String?
var category: String?
var notice: String?
var queryParameter: String?
var image: UIImage?
@ -21,7 +20,6 @@ class PreviewModel: NSObject {
init(title: String? = nil,
body: String? = nil,
category: String? = nil,
notice: String? = nil,
queryParameter: String? = nil,
image: UIImage? = nil,
@ -30,7 +28,6 @@ class PreviewModel: NSObject {
{
self.title = title
self.body = body
self.category = category
self.notice = notice
self.queryParameter = queryParameter
self.image = image

View File

@ -47,7 +47,7 @@ Bknz. https://developer.apple.com/documentation/usernotifications/setting_up_a_r
"title" : "Başlık",
"body": "İçerik"
},
"category": "bildirimGrubu",
"category": "myNotificationCategory",
"sound": "minuet.caf"
},
"icon": "https://day.app/assets/images/avatar.jpg"

View File

@ -34,7 +34,6 @@ curl -X "POST" "https://api.day.app/your_key" \
"body": "Test Bark Server",
"title": "Test Başlık",
"badge": 1,
"category": "benimBildirimGrubum",
"sound": "minuet.caf",
"icon": "https://day.app/assets/images/avatar.jpg",
"group": "test",

View File

@ -35,7 +35,6 @@ curl -X "POST" "https://api.day.app/your_key" \
"body": "Test Bark Server",
"title": "Test Title",
"badge": 1,
"category": "myNotificationCategory",
"sound": "minuet.caf",
"icon": "https://day.app/assets/images/avatar.jpg",
"group": "test",