mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various iPad fixes
This commit is contained in:
@@ -333,6 +333,12 @@
|
||||
if (strongSelf == nil)
|
||||
return;
|
||||
|
||||
if (keyboardHeight > 0) {
|
||||
[strongSelf->_portraitToolbarView setAllButtonsHidden:true animated:true];
|
||||
} else {
|
||||
[strongSelf->_portraitToolbarView setAllButtonsHidden:false animated:true];
|
||||
}
|
||||
|
||||
CGFloat offset = 0.0f;
|
||||
if (keyboardHeight > 0)
|
||||
offset = -keyboardHeight / 2.0f;
|
||||
|
||||
Reference in New Issue
Block a user