mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-23 14:28:15 +00:00
Replying now follow the content warning close #684
This commit is contained in:
parent
ff570e214c
commit
e0e3ec3625
1 changed files with 4 additions and 0 deletions
|
@ -241,6 +241,10 @@ public class StatusEditorViewModel: ObservableObject {
|
||||||
if !mentionString.isEmpty {
|
if !mentionString.isEmpty {
|
||||||
self.mentionString = mentionString.trimmingCharacters(in: .whitespaces)
|
self.mentionString = mentionString.trimmingCharacters(in: .whitespaces)
|
||||||
}
|
}
|
||||||
|
if !status.spoilerText.asRawText.isEmpty {
|
||||||
|
spoilerOn = true
|
||||||
|
spoilerText = status.spoilerText.asRawText
|
||||||
|
}
|
||||||
case let .mention(account, visibility):
|
case let .mention(account, visibility):
|
||||||
statusText = .init(string: "@\(account.acct) ")
|
statusText = .init(string: "@\(account.acct) ")
|
||||||
self.visibility = visibility
|
self.visibility = visibility
|
||||||
|
|
Loading…
Reference in a new issue