From 2a54474a18fdd8f8289c0444049ecea2a9ea2f71 Mon Sep 17 00:00:00 2001 From: Igor Tironi Date: Fri, 24 Jun 2022 15:51:26 -0700 Subject: [PATCH] Added missing NSError initialization params --- ios/Video/Features/RCTPlayerOperations.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/Features/RCTPlayerOperations.swift b/ios/Video/Features/RCTPlayerOperations.swift index 27d085c9..cd0ddfec 100644 --- a/ios/Video/Features/RCTPlayerOperations.swift +++ b/ios/Video/Features/RCTPlayerOperations.swift @@ -178,7 +178,7 @@ enum RCTPlayerOperations { return Promise(on: .global()) { fulfill, reject in guard CMTimeCompare(current, cmSeekTime) != 0 else { - reject(NSError()) + reject(NSError(domain: "", code: 0, userInfo: nil)) return } if !paused { player.pause() }