Added missing NSError initialization params
This commit is contained in:
parent
c2b0ce735f
commit
2a54474a18
@ -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() }
|
||||
|
Loading…
Reference in New Issue
Block a user