This commit is contained in:
Ilya Laktyushin 2025-02-09 19:38:27 +04:00
parent 089fb1b146
commit fd38d2ea9b

View File

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