Parcourir la source

show 'Chat' on the back button of viewcontrollers stacked on ChatViewController

cyberta il y a 4 ans
Parent
commit
0b252d5227
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      deltachat-ios/Chat/ChatViewController.swift

+ 1 - 0
deltachat-ios/Chat/ChatViewController.swift

@@ -266,6 +266,7 @@ class ChatViewController: UITableViewController {
         tableView.keyboardDismissMode = .interactive
         tableView.contentInsetAdjustmentBehavior = .never
         navigationController?.setNavigationBarHidden(false, animated: false)
+        navigationItem.backButtonTitle = String.localized("chat")
 
         if !dcContext.isConfigured() {
             // TODO: display message about nothing being configured