mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-25 15:00:28 +00:00
Fix redraft issues
This commit is contained in:
parent
612ca9fcc8
commit
699fff540e
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue