combov2: Apply changes from comboctl

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
Carlos Rafael Giani 2023-01-02 21:20:42 +01:00
parent aff55d2f60
commit fffe014d4e
2 changed files with 3 additions and 3 deletions

View file

@ -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 ->

View file

@ -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 -> ""
}