1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-10 16:22:59 +01:00

Reenable followers/followees (IOS-192)

This commit is contained in:
Nathan Mattes 2023-12-25 23:42:49 +01:00
parent f9492e07a3
commit 393722a31d

View File

@ -338,39 +338,35 @@ extension ProfileHeaderViewController: ProfileHeaderViewDelegate {
// do nothing // do nothing
break break
case .follower: case .follower:
#warning("TODO: Implement") guard let domain = viewModel.account.domain else { return }
// guard let domain = viewModel.account.domain, let userID = viewModel.account.id
// let userID = viewModel.account.id let followerListViewModel = FollowerListViewModel(
// else { return } context: context,
// let followerListViewModel = FollowerListViewModel( authContext: viewModel.authContext,
// context: context, domain: domain,
// authContext: viewModel.authContext, userID: userID
// domain: domain, )
// userID: userID _ = coordinator.present(
// ) scene: .follower(viewModel: followerListViewModel),
// _ = coordinator.present( from: self,
// scene: .follower(viewModel: followerListViewModel), transition: .show
// from: self, )
// transition: .show
// )
break
case .following: case .following:
#warning("TODO: Implement") guard let domain = viewModel.account.domain else { return }
// guard let domain = viewModel.account.domain,
// let userID = viewModel.account.id let userID = viewModel.account.id
// else { return } let followingListViewModel = FollowingListViewModel(
// let followingListViewModel = FollowingListViewModel( context: context,
// context: context, authContext: viewModel.authContext,
// authContext: viewModel.authContext, domain: domain,
// domain: domain, userID: userID
// userID: userID )
// ) _ = coordinator.present(
// _ = coordinator.present( scene: .following(viewModel: followingListViewModel),
// scene: .following(viewModel: followingListViewModel), from: self,
// from: self, transition: .show
// transition: .show )
// )
break
} }
} }