Accept current autocorrection/suggestion before sending a message (#3219)

* Fixes #3216 - Accept current autocorrection/suggestion before sending a message.

* Switch from a temporary textField to `inputDelegate` selection changes
This commit is contained in:
Stefan Ceriu
2024-09-02 16:33:40 +03:00
committed by GitHub
parent 302df1879e
commit 062811cac4
4 changed files with 56 additions and 7 deletions
@@ -133,6 +133,8 @@ struct ComposerToolbarViewStateBindings {
var composerExpanded = false
var formatItems: [FormatItem] = .init()
var alertInfo: AlertInfo<UUID>?
var presendCallback: (() -> Void)?
}
/// An item in the toolbar