Various improvements

This commit is contained in:
Ilya Laktyushin
2023-11-29 19:28:49 +04:00
parent 97e3a66cfb
commit 25dcb36761
6 changed files with 79 additions and 18 deletions

View File

@@ -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()
}
})