From 5cfec609cc7d254d694072fc85996dbca4e9e504 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Fri, 17 Nov 2023 14:52:36 +0100 Subject: [PATCH] fix(ios): fix cache playerItemPrepareText type --- ios/VideoCaching/RCTVideoCachingHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/VideoCaching/RCTVideoCachingHandler.swift b/ios/VideoCaching/RCTVideoCachingHandler.swift index b3cfaedc4c..db3dc4cd06 100644 --- a/ios/VideoCaching/RCTVideoCachingHandler.swift +++ b/ios/VideoCaching/RCTVideoCachingHandler.swift @@ -6,7 +6,7 @@ import Promises class RCTVideoCachingHandler: NSObject, DVAssetLoaderDelegatesDelegate { private var _videoCache:RCTVideoCache! = RCTVideoCache.sharedInstance() - var playerItemPrepareText: ((AVAsset?, NSDictionary?) -> AVPlayerItem, uri: String)? + var playerItemPrepareText: ((AVAsset?, NSDictionary?, String) -> AVPlayerItem)? override init() { super.init()