Fix redraft issues
This commit is contained in:
parent
612ca9fcc8
commit
699fff540e
|
@ -106,7 +106,7 @@ public extension CompositionViewModel {
|
|||
}
|
||||
|
||||
contentWarning = redraft.spoilerText
|
||||
displayContentWarning = redraft.spoilerText.isEmpty
|
||||
displayContentWarning = !redraft.spoilerText.isEmpty
|
||||
sensitive = redraft.sensitive
|
||||
displayPoll = redraft.poll != nil
|
||||
attachmentViewModels = redraft.mediaAttachments.map {
|
||||
|
|
|
@ -64,7 +64,7 @@ public final class NewStatusViewModel: ObservableObject {
|
|||
compositionViewModel = CompositionViewModel(eventsSubject: compositionEventsSubject)
|
||||
}
|
||||
|
||||
if let inReplyTo = inReplyTo {
|
||||
if let inReplyTo = inReplyTo, redraft == nil {
|
||||
compositionViewModel.text = inReplyTo.accountName.appending(" ")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue