mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Calendar improvements
This commit is contained in:
@@ -453,18 +453,7 @@ private func formSupportApplePay(_ paymentForm: BotPaymentForm) -> Bool {
|
||||
guard let nativeProvider = paymentForm.nativeProvider else {
|
||||
return false
|
||||
}
|
||||
let applePayProviders = Set<String>([
|
||||
"stripe",
|
||||
"sberbank",
|
||||
"yandex",
|
||||
"privatbank",
|
||||
"tranzzo",
|
||||
"paymaster",
|
||||
"smartglocal",
|
||||
])
|
||||
if !applePayProviders.contains(nativeProvider.name) {
|
||||
return false
|
||||
}
|
||||
|
||||
guard let nativeParamsData = nativeProvider.params.data(using: .utf8) else {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user