mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -713,7 +713,7 @@ public class AttachmentController: ViewController, MinimizableController {
|
||||
}
|
||||
if case .ended = recognizer.state {
|
||||
if let lastController = self.currentControllers.last {
|
||||
if let controller = self.controller, controller.shouldMinimizeOnSwipe?(self.currentType) == true {
|
||||
if let controller = self.controller, let layout = self.validLayout, !layout.metrics.isTablet, controller.shouldMinimizeOnSwipe?(self.currentType) == true {
|
||||
self.minimize()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user