Update the nav controller title so that the back bar button item in iPad portrait has a valid title

This commit is contained in:
Maurice Parker
2019-04-28 18:53:57 -05:00
parent ebd97b030a
commit bf50c7a7e3
3 changed files with 9 additions and 27 deletions

View File

@@ -348,6 +348,7 @@ private extension MasterTimelineViewController {
updateTableViewRowHeight()
title = navState?.timelineName
navigationController?.title = navState?.timelineName
if navState?.articles.count ?? 0 > 0 {
tableView.scrollToRow(at: IndexPath(row: 0, section: 0), at: .top, animated: false)