From 2b3dc396fe7359fe5744e299cfb701a0f7cb6f81 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 8 Aug 2019 18:48:16 +0200 Subject: [PATCH] EventMedtronicDeviceStatusChange fix --- .../medtronic/events/EventMedtronicDeviceStatusChange.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/events/EventMedtronicDeviceStatusChange.kt b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/events/EventMedtronicDeviceStatusChange.kt index 2e4eedfa14..37e6649252 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/events/EventMedtronicDeviceStatusChange.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/events/EventMedtronicDeviceStatusChange.kt @@ -14,16 +14,16 @@ class EventMedtronicDeviceStatusChange : Event { private var errorDescription: String? = null - constructor(rileyLinkServiceState: RileyLinkServiceState, rileyLinkError: RileyLinkError?) { + constructor(rileyLinkServiceState: RileyLinkServiceState?, rileyLinkError: RileyLinkError?) { this.rileyLinkServiceState = rileyLinkServiceState this.rileyLinkError = rileyLinkError } - constructor(pumpDeviceState: PumpDeviceState) { + constructor(pumpDeviceState: PumpDeviceState?) { this.pumpDeviceState = pumpDeviceState } - constructor(pumpDeviceState: PumpDeviceState, errorDescription: String) { + constructor(pumpDeviceState: PumpDeviceState?, errorDescription: String?) { this.pumpDeviceState = pumpDeviceState this.errorDescription = errorDescription }