mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various improvements
This commit is contained in:
@@ -359,13 +359,11 @@ public final class MediaPickerScreen: ViewController, AttachmentContainable {
|
||||
|> deliverOnMainQueue).start(next: { [weak self] id in
|
||||
if let strongSelf = self {
|
||||
strongSelf.controller?.interaction?.hiddenMediaId = id
|
||||
|
||||
strongSelf.gridNode.forEachItemNode { itemNode in
|
||||
if let itemNode = itemNode as? MediaPickerGridItemNode {
|
||||
itemNode.updateHiddenMedia()
|
||||
}
|
||||
}
|
||||
|
||||
strongSelf.selectionNode?.updateHiddenMedia()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user