fix EffectiveProfileSwitch duplication
This commit is contained in:
parent
04e103848c
commit
43cef1e7b6
|
@ -118,7 +118,7 @@ class CommandQueueImplementation @Inject constructor(
|
|||
override fun run() {
|
||||
if (!result.success) {
|
||||
uiInteraction.runAlarm(result.comment, rh.gs(info.nightscout.core.ui.R.string.failed_update_basal_profile), info.nightscout.core.ui.R.raw.boluserror)
|
||||
} else {
|
||||
} else if (result.enacted) {
|
||||
val nonCustomized = ProfileSealed.PS(it).convertToNonCustomizedProfile(dateUtil)
|
||||
EffectiveProfileSwitch(
|
||||
timestamp = dateUtil.now(),
|
||||
|
|
Loading…
Reference in a new issue