Various fixes

This commit is contained in:
Ilya Laktyushin
2025-01-06 20:51:10 +04:00
parent cdc82e4235
commit 7f34671792
3 changed files with 23 additions and 9 deletions

View File

@@ -1274,6 +1274,9 @@ final class PeerSelectionControllerNode: ASDisplayNode {
if updated {
strongSelf.textInputPanelNode?.updateSendButtonEnabled(count > 0, animated: true)
strongSelf.requestDeactivateSearch?()
if let (layout, navigationBarHeight, actualNavigationBarHeight) = strongSelf.containerLayout {
strongSelf.containerLayoutUpdated(layout, navigationBarHeight: navigationBarHeight, actualNavigationBarHeight: actualNavigationBarHeight, transition: .immediate)
}
} else if let requestOpenPeerFromSearch = strongSelf.requestOpenPeerFromSearch {
requestOpenPeerFromSearch(peer, threadId)
}