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

feat:Avoid the plantImage not expanding all the way when you swipe up… #939

Merged
merged 1 commit into from
Dec 15, 2023
Merged
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