Explorar o código

get rid of compose button in chat list controller

Alla Reinsch %!s(int64=7) %!d(string=hai) anos
pai
achega
8ad03f931e
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      deltachat-ios/ChatListController.swift

+ 2 - 4
deltachat-ios/ChatListController.swift

@@ -77,10 +77,8 @@ class ChatListController: UIViewController {
         chatTable.delegate = chatTableDelegate
         let dotsImage:UIImage = #imageLiteral(resourceName: "ic_more_vert")
         let dotsButton = UIBarButtonItem(image: dotsImage, landscapeImagePhone: nil, style: .plain, target: self, action: #selector(didPressDotsButton))
-        
-        let composeButton = UIBarButtonItem(barButtonSystemItem: .compose, target: self, action: #selector(ChatListController.addChat))
-        
-        navigationItem.rightBarButtonItems = [dotsButton, composeButton]
+    
+        navigationItem.rightBarButtonItem = dotsButton
     }
     
     @objc func didPressDotsButton() {