This commit is contained in:
Andrei Vereha 2021-08-03 21:28:40 +02:00
parent 0c401a84c8
commit ae8ba84adb

View file

@ -412,16 +412,7 @@ class OmnipodDashManagerImpl @Inject constructor(
), // FIXME use activation time
BeepType.FOUR_TIMES_BIP_BEEP,
BeepRepetitionType.XXX4
),
AlertConfiguration(
AlertType.SUSPEND_IN_PROGRESS,
enabled = true,
durationInMinutes = 15,
autoOff = false,
AlertTrigger.TimerTrigger(15),
BeepType.XXX,
BeepRepetitionType.XXX4
),
)
)
val userExpiryAlertDelay = podLifeLeft.minus(
Duration.ofHours(userConfiguredExpirationHours ?: MAX_POD_LIFETIME.toHours() + 1)