diff --git a/app/src/main/java/com/omelan/cofi/components/StepItem.kt b/app/src/main/java/com/omelan/cofi/components/StepItem.kt index 0ae9e30c..1611d9ae 100644 --- a/app/src/main/java/com/omelan/cofi/components/StepItem.kt +++ b/app/src/main/java/com/omelan/cofi/components/StepItem.kt @@ -34,6 +34,7 @@ fun StepListItem( onClick: ((Step) -> Unit)? = null ) { val constraintModifier = modifier + .heightIn(min = 42.dp) .animateContentSize() .fillMaxWidth() .padding(vertical = Spacing.small) @@ -43,11 +44,7 @@ fun StepListItem( role = Role.Button, interactionSource = remember { MutableInteractionSource() }, indication = rememberRipple(bounded = true), - ).apply { - if (onClick != null) { - heightIn(min = 42.dp) - } - } + ) ConstraintLayout( modifier = constraintModifier @@ -120,8 +117,8 @@ fun StepListItemPreview() { step = Step( id = 0, name = "Somebody once told me the world is gonna roll me I ain't the sharpest " + - "tool in the shed She was looking kind of dumb with her finger and her thumb " + - "In the shape of an \"L\" on her forehead", + "tool in the shed She was looking kind of dumb with her finger and her thumb " + + "In the shape of an \"L\" on her forehead", time = 35.toMillis(), type = StepType.WATER, value = 60, diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png index 81267dfa..25b9c443 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/4_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/4_en-US.png index 81542e86..22fe2606 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/4_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/4_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png index c115f03c..dbdea8ab 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png index 13bc5f65..2253c47b 100644 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png and b/fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png differ