combov2: Apply changes from comboctl
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
aff55d2f60
commit
fffe014d4e
2 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ class ComboV2Fragment : DaggerFragment() {
|
|||
else
|
||||
rh.gs(R.string.combov2_cancelling_tbr)
|
||||
is ComboCtlPump.DeliveringBolusCommandDesc ->
|
||||
rh.gs(R.string.combov2_delivering_bolus_cmddesc, desc.bolusAmount.cctlBolusToIU())
|
||||
rh.gs(R.string.combov2_delivering_bolus_cmddesc, desc.immediateBolusAmount.cctlBolusToIU())
|
||||
is ComboCtlPump.FetchingTDDHistoryCommandDesc ->
|
||||
rh.gs(R.string.combov2_fetching_tdd_history_cmddesc)
|
||||
is ComboCtlPump.UpdatingPumpDateTimeCommandDesc ->
|
||||
|
|
|
@ -1768,8 +1768,8 @@ class ComboV2Plugin @Inject constructor (
|
|||
is RTCommandProgressStage.DeliveringBolus ->
|
||||
rh.gs(
|
||||
R.string.combov2_delivering_bolus,
|
||||
stage.deliveredAmount.cctlBolusToIU(),
|
||||
stage.totalAmount.cctlBolusToIU()
|
||||
stage.deliveredImmediateAmount .cctlBolusToIU(),
|
||||
stage.totalImmediateAmount.cctlBolusToIU()
|
||||
)
|
||||
else -> ""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue