mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Fix partial text messages not being saved for each room with RTE enabled
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ enum MockComposerLinkActionScreenState: MockScreenState, CaseIterable {
|
||||
case .create:
|
||||
viewModel = .init(from: .create)
|
||||
case .edit:
|
||||
viewModel = .init(from: .edit(link: "https://element.io"))
|
||||
viewModel = .init(from: .edit(url: "https://element.io"))
|
||||
}
|
||||
return (
|
||||
[viewModel],
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ final class ComposerLinkActionViewModel: ComposerLinkActionViewModelType, Compos
|
||||
switch linkAction {
|
||||
case let .edit(link):
|
||||
initialViewState = .init(
|
||||
linkAction: .edit(link: link),
|
||||
linkAction: .edit(url: link),
|
||||
bindings: .init(
|
||||
text: "",
|
||||
linkUrl: link
|
||||
|
||||
Reference in New Issue
Block a user