Various iPad fixes

This commit is contained in:
Ilya Laktyushin
2022-08-15 21:18:56 +03:00
parent 0b791a5579
commit a1e2dd0b0e
8 changed files with 58 additions and 4 deletions

View File

@@ -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;