瀏覽代碼

set archive-chat-list title

B. Petersen 5 年之前
父節點
當前提交
99d7e7262c
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      deltachat-ios/Controller/ChatListController.swift

+ 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))