flipped playerLayer nil check to start observer
This commit is contained in:
parent
33930c8b9c
commit
e1574675b5
@ -64,7 +64,7 @@ class RCTPlayerObserver: NSObject {
|
|||||||
removePlayerLayerObserver()
|
removePlayerLayerObserver()
|
||||||
}
|
}
|
||||||
didSet {
|
didSet {
|
||||||
if playerLayer == nil {
|
if playerLayer != nil {
|
||||||
addPlayerLayerObserver()
|
addPlayerLayerObserver()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user