Show title on timeline VCs

This commit is contained in:
Shadowfacts 2018-08-27 16:46:19 -04:00
parent b655c20e3d
commit 4b3d186a2e
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 0 deletions

View File

@ -20,10 +20,13 @@ class TimelineTableViewController: UITableViewController {
switch timeline {
case .home:
navigationController.tabBarItem.title = "Home"
timelineController.navigationItem.title = "Home"
case .local:
navigationController.tabBarItem.title = "Local"
timelineController.navigationItem.title = "Local"
case .federated:
navigationController.tabBarItem.title = "Federated"
timelineController.navigationItem.title = "Federated"
}
return navigationController