cyberta 5 năm trước cách đây
mục cha
commit
7926e982e9
1 tập tin đã thay đổi với 0 bổ sung8 xóa
  1. 0 8
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 0 - 8
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -437,14 +437,6 @@ class ChatViewCoordinator: NSObject, Coordinator {
         navigationController.pushViewController(chatViewController, animated: true)
     }
 
-    private func handleMediaMessageSuccess() {
-        if let chatViewController = self.navigationController.visibleViewController as? MediaSendHandler {
-            DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
-                chatViewController.onSuccess()
-            }
-        }
-    }
-
     func showCameraViewController(delegate: MediaPickerDelegate) {
         mediaPicker.showCamera(delegate: delegate, allowCropping: false)
     }