We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59b04ce commit c9580efCopy full SHA for c9580ef
1 file changed
Owl/app/src/main/java/com/example/owl/ui/utils/NetworkImage.kt
@@ -20,6 +20,7 @@ import androidx.compose.foundation.Image
20
import androidx.compose.foundation.background
21
import androidx.compose.foundation.layout.Box
22
import androidx.compose.foundation.layout.Spacer
23
+import androidx.compose.foundation.layout.fillMaxSize
24
import androidx.compose.material.MaterialTheme
25
import androidx.compose.runtime.Composable
26
import androidx.compose.runtime.CompositionLocalProvider
@@ -62,6 +63,7 @@ fun NetworkImage(
62
63
painter = painter,
64
contentDescription = contentDescription,
65
contentScale = contentScale,
66
+ modifier = Modifier.fillMaxSize()
67
)
68
69
if (painter.loadState is ImageLoadState.Loading && placeholderColor != null) {
0 commit comments