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

Commit 48d1d98

Browse files
author
Will Anderson
committed
Fix update link for sample app
1 parent e85b627 commit 48d1d98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/HybridMobileDeployCompanion/index.ios.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ var HybridMobileDeployCompanion = React.createClass({
3030
return { update: false, updateString: "" };
3131
},
3232
handlePress: function() {
33-
console.log("pressed");
33+
HybridMobileDeploy.installUpdate(this.state.update);
3434
},
3535
render: function() {
3636
var updateView;
3737
if (this.state.update) {
3838
updateView = (
3939
<View>
4040
<Text>Update Available: {'\n'} {this.state.update.scriptVersion} - {this.state.update.description}</Text>
41-
<Button style={{color: 'green'}} onPress={this._handlePress}>
41+
<Button style={{color: 'green'}} onPress={this.handlePress}>
4242
Update
4343
</Button>
4444
</View>

0 commit comments

Comments
 (0)