Эх сурвалжийг харах

revert changes in showNewChatController()

cyberta 4 жил өмнө
parent
commit
61baba881d

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