Remove code (IOS-192)
This commit is contained in:
parent
6ffcdb2565
commit
484f44e17c
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue