Quellcode durchsuchen

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

cyberta vor 4 Jahren
Ursprung
Commit
0b252d5227
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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