diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/insulin/InsulinOrefBasePlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/insulin/InsulinOrefBasePlugin.kt index a0d3652240..8300c9147a 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/insulin/InsulinOrefBasePlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/insulin/InsulinOrefBasePlugin.kt @@ -101,7 +101,7 @@ abstract class InsulinOrefBasePlugin( return comment } - abstract val peak: Int + override abstract val peak: Int abstract fun commentStandardText(): String companion object { diff --git a/core/src/main/java/info/nightscout/androidaps/interfaces/Insulin.kt b/core/src/main/java/info/nightscout/androidaps/interfaces/Insulin.kt index ab3a8296e3..d483553ba1 100644 --- a/core/src/main/java/info/nightscout/androidaps/interfaces/Insulin.kt +++ b/core/src/main/java/info/nightscout/androidaps/interfaces/Insulin.kt @@ -27,6 +27,7 @@ interface Insulin : ConfigExportImport { val friendlyName: String val comment: String val dia: Double + val peak: Int fun iobCalcForTreatment(bolus: Bolus, time: Long, dia: Double): Iob