code improvements

This commit is contained in:
Mauro Romito
2022-11-10 15:55:25 +01:00
parent af2e9f2153
commit e7beee39ca
2 changed files with 13 additions and 4 deletions

View File

@@ -241,7 +241,7 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
private func updateTextViewHeight() {
let height = UIScreen.main.bounds.height
let barOffset: CGFloat = 68
let toolbarHeight: CGFloat = 118
let toolbarHeight: CGFloat = 83
let finalHeight = height - keyboardHeight - toolbarHeight - barOffset
wysiwygViewModel.maxExpandedHeight = finalHeight
}