mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 17:00:39 +00:00
[Android] nullable typo
This commit is contained in:
parent
5a85413369
commit
655944069f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue