mirror of
https://github.com/metabolist/metatext.git
synced 2025-01-03 02:28:41 +00:00
Use show instead of pushViewController
This commit is contained in:
parent
0e626cc1f9
commit
4b0f896f64
1 changed files with 1 additions and 3 deletions
|
@ -128,9 +128,7 @@ class StatusListViewController: UITableViewController {
|
||||||
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||||
guard let id = dataSource.itemIdentifier(for: indexPath) else { return }
|
guard let id = dataSource.itemIdentifier(for: indexPath) else { return }
|
||||||
|
|
||||||
navigationController?.pushViewController(
|
show(StatusListViewController(viewModel: viewModel.contextViewModel(id: id)), sender: self)
|
||||||
StatusListViewController(viewModel: viewModel.contextViewModel(id: id)),
|
|
||||||
animated: true)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewDidLayoutSubviews() {
|
override func viewDidLayoutSubviews() {
|
||||||
|
|
Loading…
Reference in a new issue