Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 8cc305d

Browse files
committed
undo demo change
1 parent 2733af7 commit 8cc305d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Examples/CodePushDemoApp/crossplatformdemo.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,23 +91,17 @@ let CodePushDemoApp = React.createClass({
9191

9292
render() {
9393
let syncView, syncButton, progressView;
94-
95-
syncButton = (
96-
<Button style={{color: 'green'}} onPress={this.sync}>
97-
Start Sync!
98-
</Button>
99-
);
10094

10195
if (this.state.syncMessage) {
10296
syncView = (
10397
<Text style={styles.messages}>{this.state.syncMessage}</Text>
10498
);
10599
} else {
106-
/*syncButton = (
100+
syncButton = (
107101
<Button style={{color: 'green'}} onPress={this.sync}>
108102
Start Sync!
109103
</Button>
110-
);*/
104+
);
111105
}
112106

113107
if (this.state.progress) {

0 commit comments

Comments
 (0)