This commit is contained in:
Ilya Laktyushin 2025-02-09 19:37:06 +04:00
parent 343f2ac11d
commit 8c523ec741

View File

@ -1273,7 +1273,7 @@ final class PeerInfoPaneContainerNode: ASDisplayNode, ASGestureRecognizerDelegat
self.isReady.set(.single(true))
}
}
if let previousCurrentPaneKey, self.currentPaneKey != previousCurrentPaneKey || self.expandOnSwitch {
if let previousCurrentPaneKey, self.currentPaneKey != previousCurrentPaneKey {
if self.currentPaneKey == nil && previousCurrentPaneKey == .gifts {
} else {
self.currentPaneUpdated?(self.expandOnSwitch)