mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Enable sending messages with pills
This commit is contained in:
@@ -51,6 +51,13 @@ class RoomInputToolbarTextView: UITextView {
|
||||
}
|
||||
|
||||
override var text: String! {
|
||||
didSet {
|
||||
assert(false)
|
||||
updateUI()
|
||||
}
|
||||
}
|
||||
|
||||
override var attributedText: NSAttributedString! {
|
||||
didSet {
|
||||
updateUI()
|
||||
}
|
||||
@@ -89,7 +96,7 @@ class RoomInputToolbarTextView: UITextView {
|
||||
override func draw(_ rect: CGRect) {
|
||||
super.draw(rect)
|
||||
|
||||
guard text.isEmpty, let placeholder = placeholder else {
|
||||
guard attributedText.length == 0, let placeholder = placeholder else {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user