Skip to content

Commit

Permalink
Fix swift compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
romansavka-mq committed Jul 22, 2024
1 parent 8597c76 commit bd157fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Video/RCTVideoManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ class RCTVideoManager: RCTViewManager {
@objc(setPrincipalVideoTagCmd:principalTag:)
func setPrincipalVideoTagCmd(_ reactTag: NSNumber, principalTag: NSNumber) {
performOnVideoView(withReactTag: reactTag, callback: { videoView in
videoView?.setPrincipalVideo(principalTag)
videoView?.setPrincipalVideo(tag: principalTag)
})
}

@objc(setPeripheralVideoTagCmd:peripheralTag:)
func setPeripheralVideoTagCmd(_ reactTag: NSNumber, peripheralTag: NSNumber) {
performOnVideoView(withReactTag: reactTag, callback: { videoView in
videoView?.setPeripheralVideo(peripheralTag)
videoView?.setPeripheralVideo(tag: peripheralTag)
})
}

Expand Down

0 comments on commit bd157fc

Please sign in to comment.