mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Support updated API
This commit is contained in:
@@ -3241,6 +3241,10 @@ final class StorageUsageScreenComponent: Component {
|
||||
}
|
||||
}
|
||||
|
||||
if case .separator = subItems.last {
|
||||
subItems.removeLast()
|
||||
}
|
||||
|
||||
if let sourceLabelView = sourceView.labelView {
|
||||
let items: Signal<ContextController.Items, NoError> = .single(ContextController.Items(content: .list(subItems)))
|
||||
let source: ContextContentSource = .reference(StorageUsageContextReferenceContentSource(sourceView: sourceLabelView))
|
||||
|
||||
Reference in New Issue
Block a user