SmsCommunicatorPlugin.processCARBS: set source on record.
This commit is contained in:
parent
82ffe0f9ac
commit
843fccb86c
1 changed files with 1 additions and 0 deletions
|
@ -713,6 +713,7 @@ object SmsCommunicatorPlugin : PluginBase(PluginDescription()
|
||||||
override fun run() {
|
override fun run() {
|
||||||
val detailedBolusInfo = DetailedBolusInfo()
|
val detailedBolusInfo = DetailedBolusInfo()
|
||||||
detailedBolusInfo.carbs = anInteger().toDouble()
|
detailedBolusInfo.carbs = anInteger().toDouble()
|
||||||
|
detailedBolusInfo.source = Source.USER
|
||||||
detailedBolusInfo.date = secondLong()
|
detailedBolusInfo.date = secondLong()
|
||||||
ConfigBuilderPlugin.getPlugin().commandQueue.bolus(detailedBolusInfo, object : Callback() {
|
ConfigBuilderPlugin.getPlugin().commandQueue.bolus(detailedBolusInfo, object : Callback() {
|
||||||
override fun run() {
|
override fun run() {
|
||||||
|
|
Loading…
Reference in a new issue