Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
pill_minder
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phuengton Chummuel
pill_minder
Commits
751e5f95
Commit
751e5f95
authored
Feb 12, 2018
by
Phuengton Chummuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct spelling
parent
09faea45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AppointmentsScreen.js
src/screens/AppointmentsScreen.js
+1
-1
CameraScreen.js
src/screens/CameraScreen.js
+2
-2
No files found.
src/screens/AppointmentsScreen.js
View file @
751e5f95
...
...
@@ -109,7 +109,7 @@ class AppointmentsScreen extends React.Component {
if (this.state.doctor && this.state.date && this.state.time) {
Alert.alert(
'
Conf
rim
?
',
'
Conf
irm
',
'
Are
you
sure
to
add
this
appointment
?
',
[
// { text: '
CANCLE
', onPress: () => ToastAndroid.show("Cancled", ToastAndroid.SHORT) },
...
...
src/screens/CameraScreen.js
View file @
751e5f95
...
...
@@ -115,7 +115,7 @@ class AppCamera extends Component {
Alert
.
alert
(
'Conf
rim?
'
,
'Conf
irm
'
,
'ชื่อยา: '
+
data
.
medName
+
'
\
nก่อน/หลัง อาหาร: '
+
beforeMeal
+
'
\
nช่วงเวลา: '
+
timePeriod
+
'
\
nจำนวน: '
+
data
.
dose
,
[
{
text
:
'CANCLE'
,
onPress
:
()
=>
this
.
setState
({
addItemVisible
:
true
})
},
...
...
@@ -154,7 +154,7 @@ class AppCamera extends Component {
const
time
=
data
.
date
.
split
(
':'
)
Alert
.
alert
(
'Conf
rim?
'
,
'Conf
irm
'
,
"Doctor: "
+
data
.
doctorName
+
"
\n
Date: "
+
moment
(
data
.
date
).
format
(
"DD MMM YYYY"
)
+
"
\n
Time: "
+
moment
(
data
.
date
).
format
(
"HH:mm"
)
+
"
\n
Place: "
+
data
.
place
,
[
{
text
:
'CANCLE'
,
onPress
:
()
=>
this
.
setState
({
addItemVisible
:
true
})
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment