Skip to content

Commit c9580ef

Browse files
authored
[Owl] Fix image sizes. (#532)
Change-Id: Iff78976dfc274d16327d05289da2c65f2d5c6229
1 parent 59b04ce commit c9580ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Owl/app/src/main/java/com/example/owl/ui/utils/NetworkImage.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import androidx.compose.foundation.Image
2020
import androidx.compose.foundation.background
2121
import androidx.compose.foundation.layout.Box
2222
import androidx.compose.foundation.layout.Spacer
23+
import androidx.compose.foundation.layout.fillMaxSize
2324
import androidx.compose.material.MaterialTheme
2425
import androidx.compose.runtime.Composable
2526
import androidx.compose.runtime.CompositionLocalProvider
@@ -62,6 +63,7 @@ fun NetworkImage(
6263
painter = painter,
6364
contentDescription = contentDescription,
6465
contentScale = contentScale,
66+
modifier = Modifier.fillMaxSize()
6567
)
6668

6769
if (painter.loadState is ImageLoadState.Loading && placeholderColor != null) {

0 commit comments

Comments
 (0)