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 }