瀏覽代碼

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

cyberta 4 年之前
父節點
當前提交
0b252d5227
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.keyboardDismissMode = .interactive
         tableView.contentInsetAdjustmentBehavior = .never
         tableView.contentInsetAdjustmentBehavior = .never
         navigationController?.setNavigationBarHidden(false, animated: false)
         navigationController?.setNavigationBarHidden(false, animated: false)
+        navigationItem.backButtonTitle = String.localized("chat")
 
 
         if !dcContext.isConfigured() {
         if !dcContext.isConfigured() {
             // TODO: display message about nothing being configured
             // TODO: display message about nothing being configured