Переглянути джерело

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) {
         super.viewDidDisappear(animated)