mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Use textDefaultFont in all variants of the InputToolbarView
This commit is contained in:
@@ -99,6 +99,10 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
|
||||
self.wysiwygViewModel.textView.attributedText = newValue
|
||||
}
|
||||
}
|
||||
|
||||
override var textDefaultFont: UIFont {
|
||||
return self.wysiwygViewModel.textView.font ?? UIFont.preferredFont(forTextStyle: .body)
|
||||
}
|
||||
|
||||
var isMaximised: Bool {
|
||||
wysiwygViewModel.maximised
|
||||
|
||||
Reference in New Issue
Block a user