Fix cover placeholder on detail screen

This commit is contained in:
Thomas Andres Gomez 2023-04-07 10:50:25 +02:00
parent 035f853cdb
commit 785e181482

View file

@ -280,7 +280,7 @@ private fun Cover(
.aspectRatio(ratio = remember { 1f / 1.5f })
.placeholder(
shape = MaterialTheme.bibLib.shapes.bookThumbnailCoverLarge,
isShimmering = { error.value },
isShimmering = { error.value.not() },
visible = { placeholder.value },
)
)