瀏覽代碼

revert changes in showNewChatController()

cyberta 4 年之前
父節點
當前提交
61baba881d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      deltachat-ios/Controller/ChatListController.swift

+ 2 - 2
deltachat-ios/Controller/ChatListController.swift

@@ -494,9 +494,9 @@ class ChatListController: UITableViewController {
     }
 
     // MARK: - coordinator
-    func showNewChatController(animated: Bool = true) {
+    private func showNewChatController() {
         let newChatVC = NewChatViewController(dcContext: dcContext)
-        navigationController?.pushViewController(newChatVC, animated: animated)
+        navigationController?.pushViewController(newChatVC, animated: true)
     }
 
     func showChat(chatId: Int, highlightedMsg: Int? = nil, animated: Bool = true) {