simplify
This commit is contained in:
parent
0c401a84c8
commit
ae8ba84adb
1 changed files with 1 additions and 10 deletions
|
@ -412,16 +412,7 @@ class OmnipodDashManagerImpl @Inject constructor(
|
||||||
), // FIXME use activation time
|
), // FIXME use activation time
|
||||||
BeepType.FOUR_TIMES_BIP_BEEP,
|
BeepType.FOUR_TIMES_BIP_BEEP,
|
||||||
BeepRepetitionType.XXX4
|
BeepRepetitionType.XXX4
|
||||||
),
|
)
|
||||||
AlertConfiguration(
|
|
||||||
AlertType.SUSPEND_IN_PROGRESS,
|
|
||||||
enabled = true,
|
|
||||||
durationInMinutes = 15,
|
|
||||||
autoOff = false,
|
|
||||||
AlertTrigger.TimerTrigger(15),
|
|
||||||
BeepType.XXX,
|
|
||||||
BeepRepetitionType.XXX4
|
|
||||||
),
|
|
||||||
)
|
)
|
||||||
val userExpiryAlertDelay = podLifeLeft.minus(
|
val userExpiryAlertDelay = podLifeLeft.minus(
|
||||||
Duration.ofHours(userConfiguredExpirationHours ?: MAX_POD_LIFETIME.toHours() + 1)
|
Duration.ofHours(userConfiguredExpirationHours ?: MAX_POD_LIFETIME.toHours() + 1)
|
||||||
|
|
Loading…
Reference in a new issue