#2369 Set event time for second event plus 1s too
This commit is contained in:
parent
6e38f52c7d
commit
8f02459849
1 changed files with 2 additions and 1 deletions
|
@ -131,6 +131,7 @@ class FillDialog : DialogFragmentWithDate() {
|
||||||
}
|
}
|
||||||
if (insulinChange) {
|
if (insulinChange) {
|
||||||
// add a second for case of both checked
|
// add a second for case of both checked
|
||||||
|
careportalEvent.date = eventTime + 1000
|
||||||
careportalEvent.json = generateJson(CareportalEvent.INSULINCHANGE, eventTime + 1000, notes).toString()
|
careportalEvent.json = generateJson(CareportalEvent.INSULINCHANGE, eventTime + 1000, notes).toString()
|
||||||
careportalEvent.eventType = CareportalEvent.INSULINCHANGE
|
careportalEvent.eventType = CareportalEvent.INSULINCHANGE
|
||||||
NSUpload.uploadEvent(CareportalEvent.INSULINCHANGE, eventTime + 1000, notes)
|
NSUpload.uploadEvent(CareportalEvent.INSULINCHANGE, eventTime + 1000, notes)
|
||||||
|
@ -160,4 +161,4 @@ class FillDialog : DialogFragmentWithDate() {
|
||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue