Переглянути джерело

reset chatlist if forwarding is cancelled

B. Petersen 5 роки тому
батько
коміт
4be94ddff3
1 змінених файлів з 2 додано та 0 видалено
  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()
     }