keyboard dismissal issue fixed

This commit is contained in:
Mauro Romito
2022-11-10 13:46:41 +01:00
parent 04f8e18634
commit d4509b80f8
4 changed files with 38 additions and 9 deletions
@@ -63,6 +63,10 @@ final class ComposerViewModel: ComposerViewModelType, ComposerViewModelProtocol
}
}
var isFocused: Bool {
state.bindings.focused
}
// MARK: - Public
override func process(viewAction: ComposerViewAction) {
@@ -23,6 +23,7 @@ protocol ComposerViewModelProtocol {
var textFormattingEnabled: Bool { get set }
var eventSenderDisplayName: String? { get set }
var placeholder: String? { get set }
var isFocused: Bool { get }
func dismissKeyboard()
func showKeyboard()