中华联合和监控不在缩小图标

This commit is contained in:
ddisfriend
2024-09-10 16:58:27 +08:00
parent 68c4d51355
commit ac19826ef2
232 changed files with 8063 additions and 7876 deletions

View File

@@ -61,16 +61,8 @@ class NotificationService: UNNotificationServiceExtension {
}
}
//
if GROUP.isAppointmentPushNotification(userInfo: userInfo) == true {
bestAttemptContent.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: appointmentOrderAudio_key))
contentHandler(bestAttemptContent)
}else if let broadcastKeywords = (userInfo[pushNoti_broadcastKeywords_key] as? String),broadcastKeywords.isEmpty == false {
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}else{
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}
}
}
@@ -116,16 +108,8 @@ class NotificationService: UNNotificationServiceExtension {
}
}
//
if GROUP.isAppointmentPushNotification(userInfo: userInfo) == true {
bestAttemptContent.sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: appointmentOrderAudio_key))
contentHandler(bestAttemptContent)
}else if let broadcastKeywords = (userInfo[pushNoti_broadcastKeywords_key] as? String),broadcastKeywords.isEmpty == false {
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}else{
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}
bestAttemptContent.sound = .default
contentHandler(bestAttemptContent)
}
}
}