Fix wrong conditions

This commit is contained in:
Stanisław Chmiela 2016-03-31 21:40:49 +02:00
parent 6d05b7bf79
commit 4bbce5e378

View File

@ -94,13 +94,13 @@ export default class Video extends Component {
} }
_onFullscreenPlayerDidPresent(event) { _onFullscreenPlayerDidPresent(event) {
if (this.props.onFullscreenPlayerWillPresent) { if (this.props.onFullscreenPlayerDidPresent) {
this.props.onFullscreenPlayerDidPresent(event.nativeEvent); this.props.onFullscreenPlayerDidPresent(event.nativeEvent);
} }
} }
_onFullscreenPlayerWillDismiss(event) { _onFullscreenPlayerWillDismiss(event) {
if (this.props.onFullscreenPlayerWillPresent) { if (this.props.onFullscreenPlayerWillDismiss) {
this.props.onFullscreenPlayerWillDismiss(event.nativeEvent); this.props.onFullscreenPlayerWillDismiss(event.nativeEvent);
} }
} }