From 4bbce5e3787fd593c3badd8810c5696dab5bd9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Chmiela?= Date: Thu, 31 Mar 2016 21:40:49 +0200 Subject: [PATCH] Fix wrong conditions --- Video.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Video.js b/Video.js index a986d944..2d40a955 100644 --- a/Video.js +++ b/Video.js @@ -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); } }