mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Merge commit '8a5d0ded9fc91ff7b2a9841c63e404d61cfda7fa'
This commit is contained in:
commit
3db9593f49
@ -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…
x
Reference in New Issue
Block a user