mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
Fix typing indicators for the plain message composer
This commit is contained in:
@@ -82,6 +82,14 @@ final class ComposerToolbarViewModel: ComposerToolbarViewModelType, ComposerTool
|
||||
self?.actionsSubject.send(.contentChanged(isEmpty: isEmpty))
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
|
||||
context.$viewState
|
||||
.map(\.bindings.plainComposerText)
|
||||
.removeDuplicates()
|
||||
.sink { [weak self] plainComposerText in
|
||||
self?.actionsSubject.send(.contentChanged(isEmpty: plainComposerText.string.isEmpty))
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
|
||||
wysiwygViewModel.$actionStates
|
||||
.map { actions in
|
||||
|
||||
Reference in New Issue
Block a user