mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Various Fixes
This commit is contained in:
parent
1a8b151446
commit
d95219e0b1
@ -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