mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +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)
|
.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
|
wysiwygViewModel.$actionStates
|
||||||
.map { actions in
|
.map { actions in
|
||||||
FormatType
|
FormatType
|
||||||
|
|||||||
Reference in New Issue
Block a user