From 848851eb522011801ab4c99cdde5ab6bc119521d Mon Sep 17 00:00:00 2001 From: Lukas Knoch-Girstmair Date: Wed, 18 Oct 2023 14:29:05 +0200 Subject: [PATCH] chore: format kotlin code --- .../com/bitmovin/player/reactnative/RNPlayerViewManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/bitmovin/player/reactnative/RNPlayerViewManager.kt b/android/src/main/java/com/bitmovin/player/reactnative/RNPlayerViewManager.kt index 9a7e4557..5e8072b4 100644 --- a/android/src/main/java/com/bitmovin/player/reactnative/RNPlayerViewManager.kt +++ b/android/src/main/java/com/bitmovin/player/reactnative/RNPlayerViewManager.kt @@ -5,8 +5,8 @@ import android.os.Looper import android.util.Log import android.view.ViewGroup.LayoutParams import com.bitmovin.player.PlayerView -import com.bitmovin.player.api.ui.ScalingMode import com.bitmovin.player.api.ui.PlayerViewConfig +import com.bitmovin.player.api.ui.ScalingMode import com.bitmovin.player.reactnative.converter.JsonConverter import com.bitmovin.player.reactnative.extensions.getBooleanOrNull import com.bitmovin.player.reactnative.extensions.getModule @@ -190,7 +190,7 @@ class RNPlayerViewManager(private val context: ReactApplicationContext) : Simple @ReactProp(name = "config") fun setConfig(view: RNPlayerView, config: ReadableMap?) { - view.config = if (config != null) JsonConverter.toPlayerViewConfig(config) else null + view.config = if (config != null) JsonConverter.toPlayerViewConfig(config) else null } private fun attachFullscreenBridge(view: RNPlayerView, fullscreenBridgeId: NativeId) {