Skip to content

Commit 622dee4

Browse files
committed
[ISSUE-68] - Fixing image preview size
2 parents ce58d2f + c73b9f1 commit 622dee4

File tree

1 file changed

+4
-0
lines changed
  • feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/detail/presentation/widget

1 file changed

+4
-0
lines changed

feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/detail/presentation/widget/DetailStreamImagePreview.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import androidx.compose.foundation.background
44
import androidx.compose.foundation.clickable
55
import androidx.compose.foundation.layout.Box
66
import androidx.compose.foundation.layout.aspectRatio
7+
import androidx.compose.foundation.layout.fillMaxHeight
78
import androidx.compose.foundation.layout.fillMaxWidth
89
import androidx.compose.foundation.layout.size
910
import androidx.compose.foundation.shape.CircleShape
@@ -42,6 +43,9 @@ fun DetailStreamImagePreview(
4243
model = uiState.detailStream.url,
4344
contentScale = ContentScale.FillBounds,
4445
contentDescription = uiState.detailStream.tagline,
46+
modifier = Modifier
47+
.fillMaxWidth()
48+
.fillMaxHeight()
4549
)
4650

4751
Box(

0 commit comments

Comments
 (0)