mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Cherry-pick fixes
This commit is contained in:
@@ -561,6 +561,10 @@ public class Window1 {
|
||||
}
|
||||
}
|
||||
|
||||
if strongSelf.hostView.containerView is ChildWindowHostView, !isTablet {
|
||||
keyboardHeight += 27.0
|
||||
}
|
||||
|
||||
print("keyboardHeight: \(keyboardHeight) (raw: \(keyboardFrame))")
|
||||
|
||||
var duration: Double = (notification.userInfo?[UIResponder.keyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue ?? 0.0
|
||||
|
||||
Reference in New Issue
Block a user