Skip to content

Commit

Permalink
chore: format kotlin code
Browse files Browse the repository at this point in the history
  • Loading branch information
strangesource committed Oct 18, 2023
1 parent 8b6d92a commit 848851e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 848851e

Please sign in to comment.