allow null BT name

This commit is contained in:
Milos Kozak 2020-04-24 18:36:39 +02:00
parent 8f8fe39bfe
commit e95d6116a8

View file

@ -1,6 +1,6 @@
package info.nightscout.androidaps.events 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 { enum class Change {
CONNECT, CONNECT,
DISCONNECT DISCONNECT