Added missing NSError initialization params

This commit is contained in:
Igor Tironi 2022-06-24 15:51:26 -07:00
parent c2b0ce735f
commit 2a54474a18

View File

@ -178,7 +178,7 @@ enum RCTPlayerOperations {
return Promise<Bool>(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() }