Ver código fonte

fix vanished cancel button in chat list when forwarding messages

cyberta 3 anos atrás
pai
commit
ac074b1d65
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      deltachat-ios/Controller/ChatListController.swift

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

@@ -428,7 +428,7 @@ class ChatListController: UITableViewController {
     private func updateTitle() {
         if RelayHelper.sharedInstance.isForwarding() {
             titleView.text = String.localized("forward_to")
-            if isArchive {
+            if !isArchive {
                 navigationItem.setLeftBarButton(cancelButton, animated: true)
             }
         } else if isArchive {