Commit 751e5f95 authored by Phuengton Chummuel's avatar Phuengton Chummuel

correct spelling

parent 09faea45
...@@ -109,7 +109,7 @@ class AppointmentsScreen extends React.Component { ...@@ -109,7 +109,7 @@ class AppointmentsScreen extends React.Component {
if (this.state.doctor && this.state.date && this.state.time) { if (this.state.doctor && this.state.date && this.state.time) {
Alert.alert( Alert.alert(
'Confrim?', 'Confirm',
'Are you sure to add this appointment?', 'Are you sure to add this appointment?',
[ [
// { text: 'CANCLE', onPress: () => ToastAndroid.show("Cancled", ToastAndroid.SHORT) }, // { text: 'CANCLE', onPress: () => ToastAndroid.show("Cancled", ToastAndroid.SHORT) },
......
...@@ -115,7 +115,7 @@ class AppCamera extends Component { ...@@ -115,7 +115,7 @@ class AppCamera extends Component {
Alert.alert( Alert.alert(
'Confrim?', 'Confirm',
'ชื่อยา: ' + data.medName + '\nก่อน/หลัง อาหาร: ' + beforeMeal + '\nช่วงเวลา: ' + timePeriod + '\nจำนวน: ' + data.dose, 'ชื่อยา: ' + data.medName + '\nก่อน/หลัง อาหาร: ' + beforeMeal + '\nช่วงเวลา: ' + timePeriod + '\nจำนวน: ' + data.dose,
[ [
{ text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) }, { text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) },
...@@ -154,7 +154,7 @@ class AppCamera extends Component { ...@@ -154,7 +154,7 @@ class AppCamera extends Component {
const time = data.date.split(':') const time = data.date.split(':')
Alert.alert( Alert.alert(
'Confrim?', 'Confirm',
"Doctor: " + data.doctorName + "\nDate: " + moment(data.date).format("DD MMM YYYY") + "\nTime: " + moment(data.date).format("HH:mm") + "\nPlace: " + data.place, "Doctor: " + data.doctorName + "\nDate: " + moment(data.date).format("DD MMM YYYY") + "\nTime: " + moment(data.date).format("HH:mm") + "\nPlace: " + data.place,
[ [
{ text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) }, { text: 'CANCLE', onPress: () => this.setState({ addItemVisible: true }) },
......
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