Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

plantImage not expanding #937

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fun PlantDetails(
hasValidUnsplashKey = hasValidUnsplashKey,
imageHeight = with(LocalDensity.current) {
val candidateHeight =
Dimens.PlantDetailAppBarHeight + toolbarOffsetHeightPx.value.toDp()
Dimens.PlantDetailAppBarHeight
// FIXME: Remove this workaround when https://github.com/bumptech/glide/issues/4952
// is released
maxOf(candidateHeight, 1.dp)
Expand Down