mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Attachment menu improvements
This commit is contained in:
@@ -98,7 +98,7 @@ final class AttachmentContainer: ASDisplayNode, UIGestureRecognizerDelegate {
|
||||
return 210.0
|
||||
}
|
||||
if case .compact = layout.metrics.widthClass {
|
||||
return min(layout.size.width, layout.size.height) * 0.2488
|
||||
return max(layout.size.width, layout.size.height) * 0.2488
|
||||
} else {
|
||||
return 210.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user