From 6eadd41c43b3c64e7c2cad99024102f9a152924f Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Mon, 13 Nov 2023 14:55:42 +0100 Subject: [PATCH] Show account-details (IOS-190) --- .../SuggestionAccountViewController.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Mastodon/Scene/SuggestionAccount/SuggestionAccountViewController.swift b/Mastodon/Scene/SuggestionAccount/SuggestionAccountViewController.swift index 45d925170..0fddc36d8 100644 --- a/Mastodon/Scene/SuggestionAccount/SuggestionAccountViewController.swift +++ b/Mastodon/Scene/SuggestionAccount/SuggestionAccountViewController.swift @@ -90,13 +90,7 @@ extension SuggestionAccountViewController: UITableViewDelegate { guard let item = tableViewDiffableDataSource.itemIdentifier(for: indexPath) else { return } switch item { case .account(let account, _): - print("Show \(account.acct)") -// let cachedProfileViewModel = CachedProfileViewModel(context: context, authContext: viewModel.authContext, mastodonUser: account) -// _ = coordinator.present( -// scene: .profile(viewModel: cachedProfileViewModel), -// from: self, -// transition: .show -// ) + Task { await DataSourceFacade.coordinateToProfileScene(provider: self, account: account) } } tableView.deselectRow(at: indexPath, animated: true)