Show account-details (IOS-190)

This commit is contained in:
Nathan Mattes 2023-11-13 14:55:42 +01:00
parent 49f6cd6d29
commit 6eadd41c43
1 changed files with 1 additions and 7 deletions

View File

@ -90,13 +90,7 @@ extension SuggestionAccountViewController: UITableViewDelegate {
guard let item = tableViewDiffableDataSource.itemIdentifier(for: indexPath) else { return } guard let item = tableViewDiffableDataSource.itemIdentifier(for: indexPath) else { return }
switch item { switch item {
case .account(let account, _): case .account(let account, _):
print("Show \(account.acct)") Task { await DataSourceFacade.coordinateToProfileScene(provider: self, account: account) }
// let cachedProfileViewModel = CachedProfileViewModel(context: context, authContext: viewModel.authContext, mastodonUser: account)
// _ = coordinator.present(
// scene: .profile(viewModel: cachedProfileViewModel),
// from: self,
// transition: .show
// )
} }
tableView.deselectRow(at: indexPath, animated: true) tableView.deselectRow(at: indexPath, animated: true)