Commit c9173bc4 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

crash

parent 49708af8
...@@ -297,7 +297,7 @@ class Home extends React.Component { ...@@ -297,7 +297,7 @@ class Home extends React.Component {
<ActivityIndicator size="small" color="#c9af6d" /> <ActivityIndicator size="small" color="#c9af6d" />
) : ( ) : (
<Text style={{ textAlign: "center", fontSize: 12, top: 5, fontFamily: 'Gotham-Light', color: '#838383' }}> <Text style={{ textAlign: "center", fontSize: 12, top: 5, fontFamily: 'Gotham-Light', color: '#838383' }}>
Excelso {this.props.name_outlet} {this.props.name_outlet}
</Text> </Text>
)} )}
{/* <TouchableOpacity style={styles.submitOrder} activeOpacity={.5} onPress={() => this._orderNow()}> {/* <TouchableOpacity style={styles.submitOrder} activeOpacity={.5} onPress={() => this._orderNow()}>
......
...@@ -205,6 +205,7 @@ class Login extends React.Component { ...@@ -205,6 +205,7 @@ class Login extends React.Component {
autoCapitalize="none" autoCapitalize="none"
value={this.state.email} value={this.state.email}
keyboardType='email-address' keyboardType='email-address'
removeClippedSubviews={false}
/> />
</View> </View>
<View style={{ flex: 1, height: 50, marginRight: 30, marginLeft: 30, justifyContent: 'center' }}> <View style={{ flex: 1, height: 50, marginRight: 30, marginLeft: 30, justifyContent: 'center' }}>
...@@ -214,6 +215,7 @@ class Login extends React.Component { ...@@ -214,6 +215,7 @@ class Login extends React.Component {
onChangeText={password => this.setState({ password })} onChangeText={password => this.setState({ password })}
value={this.state.password} value={this.state.password}
secureTextEntry={true} secureTextEntry={true}
removeClippedSubviews={false}
/> />
</View> </View>
<View style={{ flex: 1, height: 40, marginRight: 70, marginLeft: 70, justifyContent: 'center' }}> <View style={{ flex: 1, height: 40, marginRight: 70, marginLeft: 70, justifyContent: 'center' }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment