Ver código fonte

reset chatlist if forwarding is cancelled

B. Petersen 5 anos atrás
pai
commit
4be94ddff3
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      deltachat-ios/Controller/ChatListController.swift

+ 2 - 0
deltachat-ios/Controller/ChatListController.swift

@@ -109,7 +109,9 @@ class ChatListController: UIViewController {
     }
     }
 
 
     @objc func cancelButtonPressed() {
     @objc func cancelButtonPressed() {
+        // cancel forwarding
         RelayHelper.sharedInstance.cancel()
         RelayHelper.sharedInstance.cancel()
+        getChatList()
         updateTitle()
         updateTitle()
     }
     }