Skip to content

Commit

Permalink
Fix wrong default value
Browse files Browse the repository at this point in the history
  • Loading branch information
123mpozzi committed Nov 6, 2024
1 parent b97c8c1 commit 2ee1f11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2ee1f11

Please sign in to comment.