cyberta 5 年之前
父节点
当前提交
7926e982e9
共有 1 个文件被更改,包括 0 次插入8 次删除
  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)
     }