mirror of
https://github.com/metabolist/metatext
synced 2025-01-01 04:27:34 +01:00
Use show instead of pushViewController
This commit is contained in:
parent
0e626cc1f9
commit
4b0f896f64
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user