mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix legacyNotificationsFix option
This commit is contained in:
parent
737867a380
commit
cec4e7c83e
@ -20,7 +20,7 @@ public final class CallKitIntegration {
|
||||
return false
|
||||
#else
|
||||
if #available(iOSApplicationExtension 10.0, iOS 10.0, *) {
|
||||
return Locale.current.regionCode?.lowercased() != "cn" && !UserDefaults.standard.bool(forKey: "legacyNotificationsFix")
|
||||
return Locale.current.regionCode?.lowercased() != "cn" && !(UserDefaults(suiteName: "group.app.swiftgram.ios")?.bool(forKey: "legacyNotificationsFix") ?? false)
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user