mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Fix redraft visibility
This commit is contained in:
parent
aa8bbf6dcd
commit
2f656f77ac
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ public final class NewStatusViewModel: ObservableObject {
|
|||
self.environment = environment
|
||||
inReplyToViewModel = inReplyTo
|
||||
events = eventsSubject.eraseToAnyPublisher()
|
||||
visibility = inReplyTo?.visibility ?? identityContext.identity.preferences.postingDefaultVisibility
|
||||
visibility = redraft?.visibility
|
||||
?? inReplyTo?.visibility
|
||||
?? identityContext.identity.preferences.postingDefaultVisibility
|
||||
|
||||
if let inReplyTo = inReplyTo {
|
||||
switch inReplyTo.visibility {
|
||||
|
|
Loading…
Reference in a new issue