Replying now follow the content warning close #684

This commit is contained in:
Thomas Ricouard 2023-02-06 18:31:35 +01:00
parent ff570e214c
commit e0e3ec3625
1 changed files with 4 additions and 0 deletions

View File

@ -241,6 +241,10 @@ public class StatusEditorViewModel: ObservableObject {
if !mentionString.isEmpty {
self.mentionString = mentionString.trimmingCharacters(in: .whitespaces)
}
if !status.spoilerText.asRawText.isEmpty {
spoilerOn = true
spoilerText = status.spoilerText.asRawText
}
case let .mention(account, visibility):
statusText = .init(string: "@\(account.acct) ")
self.visibility = visibility