Changeset View
Changeset View
Standalone View
Standalone View
native/crash.react.js
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | render() { | ||||
const buttonStyle = { opacity: Number(this.state.doneWaiting) }; | const buttonStyle = { opacity: Number(this.state.doneWaiting) }; | ||||
return ( | return ( | ||||
<View style={styles.container}> | <View style={styles.container}> | ||||
<ConnectedStatusBar barStyle="dark-content" /> | <ConnectedStatusBar barStyle="dark-content" /> | ||||
<Icon name="bug" size={32} color="red" /> | <Icon name="bug" size={32} color="red" /> | ||||
<Text style={styles.header}>{this.errorTitle}</Text> | <Text style={styles.header}>{this.errorTitle}</Text> | ||||
<Text style={styles.text}>I'm sorry, but the app crashed.</Text> | <Text style={styles.text}>I’m sorry, but the app crashed.</Text> | ||||
{crashID} | {crashID} | ||||
<Text style={styles.text}> | <Text style={styles.text}> | ||||
Here's some text that's probably not helpful: | Here’s some text that’s probably not helpful: | ||||
</Text> | </Text> | ||||
<ScrollView style={styles.scrollView}> | <ScrollView style={styles.scrollView}> | ||||
<Text style={styles.errorText}>{errorText}</Text> | <Text style={styles.errorText}>{errorText}</Text> | ||||
</ScrollView> | </ScrollView> | ||||
<View style={[styles.buttons, buttonStyle]}> | <View style={[styles.buttons, buttonStyle]}> | ||||
<Button onPress={this.onPressKill} style={styles.button}> | <Button onPress={this.onPressKill} style={styles.button}> | ||||
<Text style={styles.buttonText}>Kill the app</Text> | <Text style={styles.buttonText}>Kill the app</Text> | ||||
</Button> | </Button> | ||||
▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines |