修改聚合订单音频的键值
This commit is contained in:
@@ -43,7 +43,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
|
||||
let juheVehcileName = userInfo[pushNoti_juheVehcileName_key] as? String
|
||||
if juheVehcileName?.isEmpty == false {
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: juheNewOrderAudio_key))
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newJuheOrderAudio_key))
|
||||
}else{
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newOrderAudio_key))
|
||||
}
|
||||
@@ -98,7 +98,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||
|
||||
let juheVehcileName = userInfo[pushNoti_juheVehcileName_key] as? String
|
||||
if juheVehcileName?.isEmpty == false {
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: juheNewOrderAudio_key))
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newJuheOrderAudio_key))
|
||||
}else{
|
||||
sound = UNNotificationSound(named: UNNotificationSoundName(rawValue: newOrderAudio_key))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user