Fix cover placeholder on detail screen
This commit is contained in:
parent
035f853cdb
commit
785e181482
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ private fun Cover(
|
||||||
.aspectRatio(ratio = remember { 1f / 1.5f })
|
.aspectRatio(ratio = remember { 1f / 1.5f })
|
||||||
.placeholder(
|
.placeholder(
|
||||||
shape = MaterialTheme.bibLib.shapes.bookThumbnailCoverLarge,
|
shape = MaterialTheme.bibLib.shapes.bookThumbnailCoverLarge,
|
||||||
isShimmering = { error.value },
|
isShimmering = { error.value.not() },
|
||||||
visible = { placeholder.value },
|
visible = { placeholder.value },
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue