Fix composer resizing animations

This commit is contained in:
aringenbach
2022-10-07 11:41:33 +02:00
committed by aringenbach
parent 19eaff0e97
commit c0f58a3938
3 changed files with 33 additions and 26 deletions

View File

@@ -87,6 +87,11 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, RoomInputTo
]
}
override func customizeRendering() {
super.customizeRendering()
self.backgroundColor = .clear
}
func setVoiceMessageToolbarView(_ voiceMessageToolbarView: UIView!) {
//TODO embed the voice messages UI
@@ -97,7 +102,7 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, RoomInputTo
}
private func updateToolbarHeight(wysiwygHeight: CGFloat) {
heightConstraint.constant = wysiwygHeight
self.heightConstraint.constant = wysiwygHeight
toolbarViewDelegate?.roomInputToolbarView?(self, heightDidChanged: wysiwygHeight, completion: nil)
}