Avoid a “publishing changes during view updates” warning.

This commit is contained in:
shannon 2024-12-16 15:38:55 -05:00
parent 9de3ae09b9
commit 335e682dc2

View File

@ -32,7 +32,9 @@ extension ComposeContentViewModel: MetaTextDelegate {
case .content: case .content:
let textInput = textStorage.string let textInput = textStorage.string
Task {
self.content = textInput self.content = textInput
}
let content = MastodonContent( let content = MastodonContent(
content: textInput, content: textInput,