Browse Source

reset chatlist if forwarding is cancelled

B. Petersen 5 năm trước cách đây
mục cha
commit
4be94ddff3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()
     }