flipped playerLayer nil check to start observer

This commit is contained in:
Igor Tironi 2022-06-14 16:58:47 -07:00
parent 33930c8b9c
commit e1574675b5

View File

@ -64,7 +64,7 @@ class RCTPlayerObserver: NSObject {
removePlayerLayerObserver() removePlayerLayerObserver()
} }
didSet { didSet {
if playerLayer == nil { if playerLayer != nil {
addPlayerLayerObserver() addPlayerLayerObserver()
} }
} }