undo demo change

This commit is contained in:
Geoffrey Goh
2016-02-05 17:08:33 -08:00
parent 2733af711e
commit 8cc305d787

View File

@@ -91,23 +91,17 @@ let CodePushDemoApp = React.createClass({
render() {
let syncView, syncButton, progressView;
syncButton = (
<Button style={{color: 'green'}} onPress={this.sync}>
Start Sync!
</Button>
);
if (this.state.syncMessage) {
syncView = (
<Text style={styles.messages}>{this.state.syncMessage}</Text>
);
} else {
/*syncButton = (
syncButton = (
<Button style={{color: 'green'}} onPress={this.sync}>
Start Sync!
</Button>
);*/
);
}
if (this.state.progress) {