mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-25 15:51:33 +00:00
Fix wrong conditions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user