Skip to content

Commit b70bfb0

Browse files
Update KMP Wheel Picker to version 0.3.0 (#9)
1 parent a93fb81 commit b70bfb0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

feature/workout/src/main/kotlin/com/patrykandpatrick/liftapp/feature/workout/ui/ExerciseListPicker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fun ExerciseListPicker(
3535
scaleY = scaleX
3636
translationY =
3737
lerp(
38-
-(size.height - wheelPickerState.maxItemHeight) / 2,
38+
-(size.height - wheelPickerState.slotHeight) / 2,
3939
0f,
4040
backdropState.offsetFraction,
4141
)

feature/workout/src/main/kotlin/com/patrykandpatrick/liftapp/feature/workout/ui/WorkoutScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private fun Content(
203203
ExerciseListPicker(workout, wheelPickerState, backdropState)
204204
}
205205
},
206-
backPeekHeight = { wheelPickerState.maxItemHeight.toDp() },
206+
backPeekHeight = { wheelPickerState.slotHeight.toDp() },
207207
contentPeekHeight = { 200.dp },
208208
state = backdropState,
209209
modifier = Modifier,

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ hiltNavigation = "1.3.0"
1212
immutableCollections = "0.4.0"
1313
junit = "4.13.2"
1414
jupiter = "5.13.4"
15-
kmpWheelPicker = "0.1.1"
15+
kmpWheelPicker = "0.3.0"
1616
kotlin = "2.2.20"
1717
kotlinxSerialization = "1.9.0"
1818
kotlinxSerializationConverter = "1.0.0"

0 commit comments

Comments
 (0)