mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
creating the coordinator for the link action view
This commit is contained in:
@@ -258,9 +258,11 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
|
||||
private func handleViewModelResult(_ result: ComposerViewModelResult) {
|
||||
switch result {
|
||||
case .cancel:
|
||||
self.toolbarViewDelegate?.roomInputToolbarViewDidTapCancel(self)
|
||||
toolbarViewDelegate?.roomInputToolbarViewDidTapCancel(self)
|
||||
case let .contentDidChange(isEmpty):
|
||||
setVoiceMessageToolbarIsHidden(!isEmpty)
|
||||
case let .linkTapped(linkAction):
|
||||
toolbarViewDelegate?.didSendLinkAction(LinkActionWrapper(linkAction))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user