Browse Source

set archive-chat-list title

B. Petersen 5 năm trước cách đây
mục cha
commit
99d7e7262c
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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))