From db4a6ef30c4f4bee01a785355d6ccce674088758 Mon Sep 17 00:00:00 2001 From: hurali97 Date: Thu, 8 Dec 2022 18:28:06 +0500 Subject: [PATCH] fix: when expression must be exhaustive by adding else branch --- .../java/com/amazonaws/ivs/reactnative/player/AmazonIvsView.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/src/main/java/com/amazonaws/ivs/reactnative/player/AmazonIvsView.kt b/android/src/main/java/com/amazonaws/ivs/reactnative/player/AmazonIvsView.kt index 533ab67..e55e105 100644 --- a/android/src/main/java/com/amazonaws/ivs/reactnative/player/AmazonIvsView.kt +++ b/android/src/main/java/com/amazonaws/ivs/reactnative/player/AmazonIvsView.kt @@ -319,7 +319,8 @@ class AmazonIvsView(private val context: ThemedReactContext) : FrameLayout(conte data.putMap("playerData", playerData) reactContext.getJSModule(RCTEventEmitter::class.java).receiveEvent(id, Events.DATA.toString(), data) - }; + } + else -> {} } val onStateChangeData = Arguments.createMap()