Skip to content

Commit

Permalink
Merge pull request #3173 from vemarav/fix-flatlist-ios-ui-block
Browse files Browse the repository at this point in the history
fix: ios block ui issue
  • Loading branch information
freeboub authored Aug 3, 2023
2 parents 5c9d7b8 + ccff99f commit 6c4e90e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/Video/RCTVideo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH


func applyModifiers() {
if let video = _player?.currentItem,
video == nil || video.status != AVPlayerItem.Status.readyToPlay {
return
}
if _muted {
if !_controls {
_player?.volume = 0
Expand Down

0 comments on commit 6c4e90e

Please sign in to comment.