Commit 9b0d2086 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

benerin alert

parent db26e988
......@@ -148,10 +148,6 @@ class AddreesDetail extends React.Component {
indicator: false,
})
}
}
//searchlocation (mencari lokasi)
......@@ -179,17 +175,17 @@ class AddreesDetail extends React.Component {
if (this.props.edit_address == true) {
if (this.state.address_edit == '') {
Alert.alert(i18n.t('','alertLabelAddress'))
Alert.alert('',i18n.t('alertLabelAddress'))
} else if (this.state.description_edit == '') {
Alert.alert(i18n.t('','alertDetailAddress'))
Alert.alert('',i18n.t('alertDetailAddress'))
} else {
this.saveAddress()
}
} else {
if (this.state.name == '') {
Alert.alert(i18n.t('','alertLabelAddress'))
Alert.alert('',i18n.t('alertLabelAddress'))
} else if (this.state.description == '') {
Alert.alert(i18n.t('','alertDetailAddress'))
Alert.alert('',i18n.t('alertDetailAddress'))
} else {
this.saveAddress()
}
......
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