Merge pull request #3173 from vemarav/fix-flatlist-ios-ui-block
fix: ios block ui issue
This commit is contained in:
commit
6c4e90e55f
@ -563,6 +563,10 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
|
|
||||||
|
|
||||||
func applyModifiers() {
|
func applyModifiers() {
|
||||||
|
if let video = _player?.currentItem,
|
||||||
|
video == nil || video.status != AVPlayerItem.Status.readyToPlay {
|
||||||
|
return
|
||||||
|
}
|
||||||
if _muted {
|
if _muted {
|
||||||
if !_controls {
|
if !_controls {
|
||||||
_player?.volume = 0
|
_player?.volume = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user