chore: update comment
This commit is contained in:
parent
48ac5d13b0
commit
1320425564
|
@ -98,7 +98,7 @@ final class ComposeViewModel: NSObject {
|
||||||
self.selectedStatusVisibility = {
|
self.selectedStatusVisibility = {
|
||||||
// default private when user locked
|
// default private when user locked
|
||||||
var visibility: ComposeToolbarView.VisibilitySelectionType = context.authenticationService.activeMastodonAuthentication.value?.user.locked == true ? .private : .public
|
var visibility: ComposeToolbarView.VisibilitySelectionType = context.authenticationService.activeMastodonAuthentication.value?.user.locked == true ? .private : .public
|
||||||
// set visibility is replied post is DM
|
// set visibility for reply post
|
||||||
switch composeKind {
|
switch composeKind {
|
||||||
case .reply(let repliedToStatusObjectID):
|
case .reply(let repliedToStatusObjectID):
|
||||||
context.managedObjectContext.performAndWait {
|
context.managedObjectContext.performAndWait {
|
||||||
|
|
Loading…
Reference in New Issue