diff --git a/app/src/main/java/org/schabi/newpipe/ui/components/items/stream/StreamThumbnail.kt b/app/src/main/java/org/schabi/newpipe/ui/components/items/stream/StreamThumbnail.kt index b81b6a71e8a..bcccd3217cf 100644 --- a/app/src/main/java/org/schabi/newpipe/ui/components/items/stream/StreamThumbnail.kt +++ b/app/src/main/java/org/schabi/newpipe/ui/components/items/stream/StreamThumbnail.kt @@ -54,7 +54,7 @@ fun StreamThumbnail( Text( modifier = Modifier .padding(2.dp) - .background((if (isLive) Color.Red else Color.Black).copy(alpha = 0.5f)) + .background(if (isLive) Color.Red else Color.Black.copy(alpha = 0.5f)) .padding(2.dp), text = if (isLive) { stringResource(R.string.duration_live)