fix warning

This commit is contained in:
Andrei Vereha 2021-10-14 22:10:50 +02:00
parent 883c2322d2
commit f48956fd0d

View file

@ -1031,7 +1031,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
DateFormat.format("HH:mm", Date(this.startTime))
) + "\n"
}
val (temporaryBasal, extendedBolus, _, profile) = pumpSync.expectedPumpState()
val temporaryBasal = pumpSync.expectedPumpState().temporaryBasal
temporaryBasal?.run {
ret += resourceHelper.gs(
R.string.omnipod_common_short_status_temp_basal,