2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

chore: update comment

This commit is contained in:
CMK 2021-08-03 17:19:12 +08:00
parent 48ac5d13b0
commit 1320425564

View File

@ -98,7 +98,7 @@ final class ComposeViewModel: NSObject {
self.selectedStatusVisibility = {
// default private when user locked
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 {
case .reply(let repliedToStatusObjectID):
context.managedObjectContext.performAndWait {