Showing
1 changed file
with
1 additions
and
1 deletions
@@ -109,7 +109,7 @@ export default class Prompt extends Component { | @@ -109,7 +109,7 @@ export default class Prompt extends Component { | ||
109 | <Animated.View style={[styles.container, {opacity: this.state.fadeAnim,}]}> | 109 | <Animated.View style={[styles.container, {opacity: this.state.fadeAnim,}]}> |
110 | <View style={customStyles.overlay}> | 110 | <View style={customStyles.overlay}> |
111 | {this.props.icon ? <Image source={this.props.icon} style={customStyles.title}/> : null} | 111 | {this.props.icon ? <Image source={this.props.icon} style={customStyles.title}/> : null} |
112 | - <Text style={customStyles.text}>{this.props.text}</Text> | 112 | + {this.props.text ? <Text style={customStyles.text}>{this.props.text}</Text> : null} |
113 | </View> | 113 | </View> |
114 | </Animated.View> | 114 | </Animated.View> |
115 | ); | 115 | ); |
-
Please register or login to post a comment