1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-20 21:00:36 +01: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 {