Replying now follow the content warning close #684
This commit is contained in:
parent
ff570e214c
commit
e0e3ec3625
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue