Parcourir la source

reset chatlist if forwarding is cancelled

B. Petersen il y a 5 ans
Parent
commit
4be94ddff3
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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()
     }