From ae8ba84adb74ab43170b8a0fe4ab7b3f60b49a67 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Tue, 3 Aug 2021 21:28:40 +0200 Subject: [PATCH] simplify --- .../omnipod/dash/driver/OmnipodDashManagerImpl.kt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt index bb39d0de5e..e504e93e62 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt @@ -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)