Skip to content

Commit

Permalink
Added missing NSError initialization params
Browse files Browse the repository at this point in the history
  • Loading branch information
tironiigor committed Jun 24, 2022
1 parent c2b0ce7 commit 2a54474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/Features/RCTPlayerOperations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
Expand Down

0 comments on commit 2a54474

Please sign in to comment.