Przeglądaj źródła

set archive-chat-list title

B. Petersen 5 lat temu
rodzic
commit
99d7e7262c

+ 5 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -84,7 +84,12 @@ class ChatListController: UIViewController {
 
     override func viewDidLoad() {
         super.viewDidLoad()
+
         title = String.localized("pref_chats")
+        if showArchive {
+            title = String.localized("chat_archived_chats_title")
+        }
+
         navigationController?.navigationBar.prefersLargeTitles = true
 
         newButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.compose, target: self, action: #selector(didPressNewChat))