浏览代码

Merge pull request #242 from deltachat/fix_back_label

fix navigation bar title and back button in new chat context
björn petersen 5 年之前
父节点
当前提交
56cf8abb9d
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      deltachat-ios/Controller/NewChatViewController.swift

+ 0 - 6
deltachat-ios/Controller/NewChatViewController.swift

@@ -108,12 +108,6 @@ class NewChatViewController: UITableViewController {
         }
         }
     }
     }
 
 
-    override func viewWillDisappear(_: Bool) {
-        title = String.localized("pref_chats")
-        /* hack: when navigating to chatView (removing this viewController),
-        there was a delayed backButton update (showing 'New Chat' for a moment) */
-    }
-
     override func viewDidDisappear(_ animated: Bool) {
     override func viewDidDisappear(_ animated: Bool) {
         super.viewDidDisappear(animated)
         super.viewDidDisappear(animated)