Explorar o código

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

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
0b252d5227
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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