From 655944069fc217815a5f4fe3ff7958fc1a90b128 Mon Sep 17 00:00:00 2001 From: Vadim Date: Tue, 4 Jul 2023 15:28:58 +0200 Subject: [PATCH] [Android] nullable typo --- .../app/src/main/kotlin/com/vodemn/lightmeter/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/com/vodemn/lightmeter/MainActivity.kt b/android/app/src/main/kotlin/com/vodemn/lightmeter/MainActivity.kt index a0cbe97..af458c4 100644 --- a/android/app/src/main/kotlin/com/vodemn/lightmeter/MainActivity.kt +++ b/android/app/src/main/kotlin/com/vodemn/lightmeter/MainActivity.kt @@ -63,10 +63,10 @@ class MainActivity : FlutterActivity() { "com.vodemn.lightmeter/volumeEvents" ) volumeEventChannel.setStreamHandler(object : EventChannel.StreamHandler { - override fun onListen(listener: Any, eventSink: EventSink) { + override fun onListen(listener: Any?, eventSink: EventSink) { volumeEventsEmitter = eventSink } - override fun onCancel(listener: Any) { + override fun onCancel(listener: Any?) { volumeEventsEmitter = null } })