Skip to content

Commit e00a93e

Browse files
committed
Learned slider component fixing value
1 parent 5361770 commit e00a93e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/syntaxspin/sakura/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Switch( //text ="Switch ON/OFF",
250250
@Composable
251251
fun sliderSyntax(){
252252
Slider(
253-
value = 20.0,
253+
value = 20.0F,
254254
onValueChange = { sliderPosition = it }
255255
)
256256
}

0 commit comments

Comments
 (0)