Skip to content

Commit

Permalink
Fix: Update slider to step by 1f
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakhar-Agarwal-byte authored and thunderbiscuit committed Jul 4, 2023
1 parent ad3f1e2 commit 7ea9fd3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ internal fun SendScreen(navController: NavHostController, walletViewModel: Walle
modifier = Modifier.semantics { contentDescription = "Localized Description" },
value = sliderPosition,
onValueChange = { sliderPosition = it },
valueRange = 0f..8f,
valueRange = 1f..8f,
onValueChangeFinished = { feeRate.value = sliderPosition.toString().take(3) },
steps = 7
steps = 6
)
Text(text = sliderPosition.toString().take(3))

Expand Down

0 comments on commit 7ea9fd3

Please sign in to comment.