     }
     
     func cancelDownload() {
-        SDWebImageDownloader.shared().cancel(self.operationToken)
+        self.operation?.cancel()
     }
 
     // Load from local file

    private var assetTargetSize = CGSize.zero
    
    private var loadingInProgress = false
    private var operationToken: SDWebImageDownloadToken?
    private var assetRequestID = PHInvalidImageRequestID
    
    //MARK: - Init

                }
            },
        */
        operation = SDWebImageManager.shared().loadImage(with: url, options: [], progress: nil) { [weak self] (image, _, error, cacheType, finish, imageUrl) in
            guard let wself = self else { return }

            DispatchQueue.main.async {
