mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Camera and editor improvements
This commit is contained in:
@@ -540,7 +540,15 @@ final class AttachmentContainer: ASDisplayNode, UIGestureRecognizerDelegate {
|
||||
controller.setIgnoreAppearanceMethodInvocations(false)
|
||||
controller.viewDidDisappear(transition.isAnimated)
|
||||
}
|
||||
if let (layout, _, coveredByModalTransition) = self.validLayout {
|
||||
self.update(layout: layout, controllers: [], coveredByModalTransition: coveredByModalTransition, transition: .immediate)
|
||||
}
|
||||
completion()
|
||||
|
||||
var bounds = self.bounds
|
||||
bounds.origin.y = 0.0
|
||||
self.bounds = bounds
|
||||
|
||||
return transition
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user