From 2ee1f112df2f06585a9716b6227c7de4168b1ee8 Mon Sep 17 00:00:00 2001 From: Michele Pozzi <123.mpozzi@gmail.com> Date: Wed, 6 Nov 2024 09:29:35 +0100 Subject: [PATCH] Fix wrong default value --- .../com/bitmovin/player/reactnative/converter/JsonConverter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/bitmovin/player/reactnative/converter/JsonConverter.kt b/android/src/main/java/com/bitmovin/player/reactnative/converter/JsonConverter.kt index 1df466c8..1a0f6a89 100644 --- a/android/src/main/java/com/bitmovin/player/reactnative/converter/JsonConverter.kt +++ b/android/src/main/java/com/bitmovin/player/reactnative/converter/JsonConverter.kt @@ -884,7 +884,7 @@ fun String.toMediaType(): MediaType? = when (this) { } data class MediaControlConfig( - var isEnabled: Boolean = false, + var isEnabled: Boolean = true, ) fun ReadableMap.toMediaControlConfig(): MediaControlConfig = MediaControlConfig().apply {