소스 검색

fix opening profile

B. Petersen 5 년 전
부모
커밋
e3b8d43182
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      deltachat-ios/Controller/ChatViewController.swift

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

@@ -502,7 +502,7 @@ class ChatViewController: MessagesViewController {
     }
 
     @objc private func chatProfilePressed() {
-        if chatId == DC_CHAT_ID_DEADDROP {
+        if chatId != DC_CHAT_ID_DEADDROP {
             showChatDetail(chatId: chatId)
         }
     }
@@ -639,7 +639,7 @@ class ChatViewController: MessagesViewController {
         }
     }
 
-    //  MARK: - coordinator
+    // MARK: - coordinator
     func navigateBack() {
         if let navigationController = self.parent as? UINavigationController {
             navigationController.popViewController(animated: true)