From e95d6116a8012b95b046dc09934fb67764ba8fae Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 24 Apr 2020 18:36:39 +0200 Subject: [PATCH] allow null BT name --- .../java/info/nightscout/androidaps/events/EventBTChange.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/events/EventBTChange.kt b/app/src/main/java/info/nightscout/androidaps/events/EventBTChange.kt index 0531a4d00d..6956cbb2a5 100644 --- a/app/src/main/java/info/nightscout/androidaps/events/EventBTChange.kt +++ b/app/src/main/java/info/nightscout/androidaps/events/EventBTChange.kt @@ -1,6 +1,6 @@ package info.nightscout.androidaps.events -class EventBTChange constructor(val state: Change, val deviceName: String) : Event() { +class EventBTChange constructor(val state: Change, val deviceName: String?) : Event() { enum class Change { CONNECT, DISCONNECT