Commit 4bbce5e3 authored by Stanisław Chmiela's avatar Stanisław Chmiela
Browse files

Fix wrong conditions

parent 6d05b7bf
Loading
Loading
Loading
Loading
+2 −2
Changes for Video.js: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -94,13 +94,13 @@ export default class Video extends Component {
  }

  _onFullscreenPlayerDidPresent(event) {
    if (this.props.onFullscreenPlayerWillPresent) {
    if (this.props.onFullscreenPlayerDidPresent) {
      this.props.onFullscreenPlayerDidPresent(event.nativeEvent);
    }
  }

  _onFullscreenPlayerWillDismiss(event) {
    if (this.props.onFullscreenPlayerWillPresent) {
    if (this.props.onFullscreenPlayerWillDismiss) {
      this.props.onFullscreenPlayerWillDismiss(event.nativeEvent);
    }
  }