mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Merge commit '8a5d0ded9f'
This commit is contained in:
commit
3db9593f49
2 changed files with 3 additions and 2 deletions
|
|
@ -507,7 +507,7 @@ public func storageUsageController(context: AccountContext, cacheUsagePromise: P
|
|||
} else {
|
||||
otherSize = (!otherSize.0, otherSize.1)
|
||||
}
|
||||
controller?.updateItem(groupIndex: 0, itemIndex: itemIndex, { item in
|
||||
controller?.updateItem(groupIndex: 0, itemIndex: itemIndex + 1, { item in
|
||||
if let item = item as? ActionSheetCheckboxItem {
|
||||
return ActionSheetCheckboxItem(title: item.title, label: item.label, value: !item.value, action: item.action)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@ import Foundation
|
|||
|
||||
private let whitelistedHosts: Set<String> = Set([
|
||||
"t.me",
|
||||
"telegram.me"
|
||||
"telegram.me",
|
||||
"telegra.ph"
|
||||
])
|
||||
|
||||
public func isConcealedUrlWhitelisted(_ url: URL) -> Bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue