Avoid a “publishing changes during view updates” warning.
This commit is contained in:
parent
9de3ae09b9
commit
335e682dc2
@ -32,8 +32,10 @@ extension ComposeContentViewModel: MetaTextDelegate {
|
|||||||
|
|
||||||
case .content:
|
case .content:
|
||||||
let textInput = textStorage.string
|
let textInput = textStorage.string
|
||||||
self.content = textInput
|
Task {
|
||||||
|
self.content = textInput
|
||||||
|
}
|
||||||
|
|
||||||
let content = MastodonContent(
|
let content = MastodonContent(
|
||||||
content: textInput,
|
content: textInput,
|
||||||
emojis: [:] // customEmojiViewModel?.emojis.value.asDictionary ?? [:]
|
emojis: [:] // customEmojiViewModel?.emojis.value.asDictionary ?? [:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user