mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Fix typing indicators for the plain message composer
This commit is contained in:
@@ -83,6 +83,14 @@ final class ComposerToolbarViewModel: ComposerToolbarViewModelType, ComposerTool
|
||||
}
|
||||
.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
|
||||
FormatType
|
||||
|
||||
Reference in New Issue
Block a user