Fix blocked image placeholder content scale
This commit is contained in:
1 parent
e8c1c80ce5
commit
7e4c910cd7
1 file changed
+1
@@ -104,6 +104,7 @@ fun PagerItem(
|
||||
model = AdsPlaceholderFile,
|
||||
contentDescription = null,
|
||||
modifier = modifier.fillMaxSize(),
|
||||
contentScale = if (contentScale == ContentScale.Inside) ContentScale.Fit else contentScale,
|
||||
) {
|
||||
val placeholderState by painter.state.collectAsState()
|
||||
if (placeholderState is AsyncImagePainter.State.Success) {
|
||||
|
||||
Reference in new issue
Block a user