Use show instead of pushViewController

This commit is contained in:
Justin Mazzocchi 2020-09-04 10:27:25 -07:00
parent 0e626cc1f9
commit 4b0f896f64
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 3 deletions

View File

@ -128,9 +128,7 @@ class StatusListViewController: UITableViewController {
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
guard let id = dataSource.itemIdentifier(for: indexPath) else { return }
navigationController?.pushViewController(
StatusListViewController(viewModel: viewModel.contextViewModel(id: id)),
animated: true)
show(StatusListViewController(viewModel: viewModel.contextViewModel(id: id)), sender: self)
}
override func viewDidLayoutSubviews() {