Remove alert on Android example

This commit is contained in:
Brent Vatne 2015-12-06 22:31:21 -08:00
parent fde97ebaec
commit 5f6f1c3b01
2 changed files with 1 additions and 10 deletions

View File

@ -1,7 +1,3 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict'; 'use strict';
var React = require('react-native'); var React = require('react-native');
@ -11,7 +7,6 @@ var {
Text, Text,
View, View,
TouchableOpacity, TouchableOpacity,
AlertIOS,
} = React; } = React;
var Video = require('react-native-video'); var Video = require('react-native-video');
@ -96,7 +91,7 @@ var VideoPlayer = React.createClass({
resizeMode={this.state.resizeMode} resizeMode={this.state.resizeMode}
onLoad={this.onLoad} onLoad={this.onLoad}
onProgress={this.onProgress} onProgress={this.onProgress}
onEnd={() => { AlertIOS.alert('Done!') }} onEnd={() => { console.log('Done!') }}
repeat={true} /> repeat={true} />
</TouchableOpacity> </TouchableOpacity>

View File

@ -1,7 +1,3 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict'; 'use strict';
var React = require('react-native'); var React = require('react-native');