Explorar o código

reset chatlist if forwarding is cancelled

B. Petersen %!s(int64=5) %!d(string=hai) anos
pai
achega
4be94ddff3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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() {
+        // cancel forwarding
         RelayHelper.sharedInstance.cancel()
+        getChatList()
         updateTitle()
     }