Show account-details (IOS-190)
This commit is contained in:
parent
49f6cd6d29
commit
6eadd41c43
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue