mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Disable siri announcement
This commit is contained in:
parent
e97d129c64
commit
ffc9dda416
@ -1983,9 +1983,9 @@ final class SharedApplicationContext {
|
|||||||
var carPlayOptions = options
|
var carPlayOptions = options
|
||||||
carPlayOptions.insert(.allowInCarPlay)
|
carPlayOptions.insert(.allowInCarPlay)
|
||||||
|
|
||||||
if #available(iOS 13.2, *) {
|
//if #available(iOS 13.2, *) {
|
||||||
carPlayOptions.insert(.allowAnnouncement)
|
// carPlayOptions.insert(.allowAnnouncement)
|
||||||
}
|
//}
|
||||||
|
|
||||||
unknownMessageCategory = UNNotificationCategory(identifier: "unknown", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options)
|
unknownMessageCategory = UNNotificationCategory(identifier: "unknown", actions: [], intentIdentifiers: [], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: options)
|
||||||
replyMessageCategory = UNNotificationCategory(identifier: "withReply", actions: [reply], intentIdentifiers: [INSearchForMessagesIntentIdentifier], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: carPlayOptions)
|
replyMessageCategory = UNNotificationCategory(identifier: "withReply", actions: [reply], intentIdentifiers: [INSearchForMessagesIntentIdentifier], hiddenPreviewsBodyPlaceholder: hiddenContentString, options: carPlayOptions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user