Remove code (IOS-192)

This commit is contained in:
Nathan Mattes 2024-01-20 14:18:26 +01:00
parent 6ffcdb2565
commit 484f44e17c
1 changed files with 2 additions and 19 deletions

View File

@ -852,28 +852,11 @@ extension ProfileViewController: ProfileHeaderViewControllerDelegate {
) )
self.viewModel.relationship = newRelationship self.viewModel.relationship = newRelationship
// update account? // TODO: update account?
// update me? // TODO: update me?
} }
} }
// switch relationshipAction {
// case .none:
// break
// case .follow, .request, .pending, .following:
// guard let user = viewModel.user else { return }
// let record = ManagedObjectRecord<MastodonUser>(objectID: user.objectID)
// Task {
// try await DataSourceFacade.responseToUserFollowAction(
// dependency: self,
// user: record
// )
// }
// case .muting:
// case .blocked, .showReblogs, .isMyself,.followingBy, .blockingBy, .suspended, .edit, .editing, .updating:
// break
// }
} }
func profileHeaderViewController( func profileHeaderViewController(