Parcourir la source

Merge pull request #242 from deltachat/fix_back_label

fix navigation bar title and back button in new chat context
björn petersen il y a 5 ans
Parent
commit
56cf8abb9d
1 fichiers modifiés avec 0 ajouts et 6 suppressions
  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)