Don't require more details than we set to receive
This commit is contained in:
parent
d1eae07cfa
commit
e35eaf645f
@ -320,7 +320,7 @@ static NSString *const playbackRate = @"rate";
|
||||
}
|
||||
}
|
||||
} else if (object == _player) {
|
||||
if([keyPath isEqualToString:playbackRate] && [change objectForKey:NSKeyValueChangeNewKey]) {
|
||||
if([keyPath isEqualToString:playbackRate]) {
|
||||
[_eventDispatcher sendInputEventWithName:@"onPlaybackRateChange"
|
||||
body:@{@"playbackRate": [NSNumber numberWithFloat:_player.rate],
|
||||
@"target": self.reactTag}];
|
||||
|
Loading…
Reference in New Issue
Block a user