From 465b2bbb59add17a639f9d767b8d39501e9276e1 Mon Sep 17 00:00:00 2001 From: taylorbell Date: Tue, 7 Jan 2025 08:18:43 -0600 Subject: [PATCH] chore: additional formatting fixes --- .../channelhandlers/RestoredDeviceHandler.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/RestoredDeviceHandler.kt b/packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/RestoredDeviceHandler.kt index 699b62f6..6da142d6 100644 --- a/packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/RestoredDeviceHandler.kt +++ b/packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/channelhandlers/RestoredDeviceHandler.kt @@ -3,7 +3,7 @@ package com.signify.hue.flutterreactiveble.channelhandlers import io.flutter.plugin.common.EventChannel import com.signify.hue.flutterreactiveble.ProtobufModel as pb -class RestoredDeviceHandler() : EventChannel.StreamHandler { +class RestoredDeviceHandler : EventChannel.StreamHandler { private var sink: EventChannel.EventSink? = null override fun onListen( @@ -16,10 +16,9 @@ class RestoredDeviceHandler() : EventChannel.StreamHandler { val message = pb.RestoredDeviceInfoCollection.newBuilder().build() eventSink.success(message.toByteArray()) } - } override fun onCancel(objectSink: Any?) { sink = null } -} \ No newline at end of file +}