From 484f44e17c90a194615546abf03e3e0758ba20e6 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Sat, 20 Jan 2024 14:18:26 +0100 Subject: [PATCH] Remove code (IOS-192) --- .../Scene/Profile/ProfileViewController.swift | 21 ++----------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/Mastodon/Scene/Profile/ProfileViewController.swift b/Mastodon/Scene/Profile/ProfileViewController.swift index 5b5be1cdc..f3999bff6 100644 --- a/Mastodon/Scene/Profile/ProfileViewController.swift +++ b/Mastodon/Scene/Profile/ProfileViewController.swift @@ -852,28 +852,11 @@ extension ProfileViewController: ProfileHeaderViewControllerDelegate { ) self.viewModel.relationship = newRelationship - // update account? - // update me? + // TODO: update account? + // TODO: update me? } } - - // switch relationshipAction { - // case .none: - // break - // case .follow, .request, .pending, .following: - // guard let user = viewModel.user else { return } - // let record = ManagedObjectRecord(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(