Sfoglia il codice sorgente

reset chatlist if forwarding is cancelled

B. Petersen 5 anni fa
parent
commit
4be94ddff3
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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()
     }