Bastian van de Wetering 7 жил өмнө
parent
commit
bc00afbee1

+ 2 - 2
deltachat-ios/AppCoordinator.swift

@@ -22,11 +22,11 @@ class AppCoordinator {
         settingsViewController.view.backgroundColor = UIColor.blue
         
         let contactTabbarItem = UITabBarItem(tabBarSystemItem: .contacts, tag: 0)
-        let chatTabbarItem = UITabBarItem(title: "Chat", image: nil, tag: 1)
+        let chatTabbarItem = UITabBarItem(title: "Chats", image: nil, tag: 1)
         let settingsTabbarItem = UITabBarItem(title: "Settings", image: nil, tag: 2)
         
         contactViewController.tabBarItem = contactTabbarItem
-        chatViewController.tabBarItem = chatTabbarItem
+        chatNavigationController.tabBarItem = chatTabbarItem
         settingsViewController.tabBarItem = settingsTabbarItem
         
         let tabBarController = UITabBarController()

+ 3 - 2
deltachat-ios/ChatViewController.swift

@@ -12,8 +12,9 @@ class ChatViewController: UIViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
-
-        // Do any additional setup after loading the view.
+        self.navigationItem.title = "Chats"
+        //title = "Chats"
+        
     }