Browse Source

revert changes in showNewChatController()

cyberta 4 years ago
parent
commit
61baba881d
1 changed files with 2 additions and 2 deletions
  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) {