Fixed create-app.js script (#1386)

This commit is contained in:
Yuri Kulikov
2018-08-23 18:14:06 +03:00
committed by Nickolay Toropov
parent 1f862960a0
commit da7b1faa21
2 changed files with 41 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ class App extends Component<{}> {
<Text style={styles.syncButton}>Press for dialog-driven sync</Text>
</TouchableOpacity>
{progressView}
<Image style={styles.image} resizeMode={Image.resizeMode.contain} source={require("./images/laptop_phone_howitworks.png")}/>
<Image style={styles.image} resizeMode={"contain"} source={require("./images/laptop_phone_howitworks.png")}/>
<TouchableOpacity onPress={this.toggleAllowRestart.bind(this)}>
<Text style={styles.restartToggleButton}>Restart { this.state.restartAllowed ? "allowed" : "forbidden"}</Text>
</TouchableOpacity>