From 5f6f1c3b019c6eac91a6a6d7663b0570e61c1291 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Sun, 6 Dec 2015 22:31:21 -0800 Subject: [PATCH] Remove alert on Android example --- Examples/VideoPlayer/index.android.js | 7 +------ Examples/VideoPlayer/index.ios.js | 4 ---- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Examples/VideoPlayer/index.android.js b/Examples/VideoPlayer/index.android.js index 662c676e..c2533f28 100644 --- a/Examples/VideoPlayer/index.android.js +++ b/Examples/VideoPlayer/index.android.js @@ -1,7 +1,3 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - */ 'use strict'; var React = require('react-native'); @@ -11,7 +7,6 @@ var { Text, View, TouchableOpacity, - AlertIOS, } = React; var Video = require('react-native-video'); @@ -96,7 +91,7 @@ var VideoPlayer = React.createClass({ resizeMode={this.state.resizeMode} onLoad={this.onLoad} onProgress={this.onProgress} - onEnd={() => { AlertIOS.alert('Done!') }} + onEnd={() => { console.log('Done!') }} repeat={true} /> diff --git a/Examples/VideoPlayer/index.ios.js b/Examples/VideoPlayer/index.ios.js index 662c676e..c77f53d5 100644 --- a/Examples/VideoPlayer/index.ios.js +++ b/Examples/VideoPlayer/index.ios.js @@ -1,7 +1,3 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - */ 'use strict'; var React = require('react-native');