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)) DateFormat.format("HH:mm", Date(this.startTime))
) + "\n" ) + "\n"
} }
val (temporaryBasal, extendedBolus, _, profile) = pumpSync.expectedPumpState() val temporaryBasal = pumpSync.expectedPumpState().temporaryBasal
temporaryBasal?.run { temporaryBasal?.run {
ret += resourceHelper.gs( ret += resourceHelper.gs(
R.string.omnipod_common_short_status_temp_basal, R.string.omnipod_common_short_status_temp_basal,