Skip to content

Commit

Permalink
fixed magic number suppression
Browse files Browse the repository at this point in the history
Signed-off-by: Basler182 <[email protected]>
  • Loading branch information
Basler182 committed Aug 23, 2024
1 parent aec11e9 commit ce85e2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ fun NumberPicker(
horizontalAlignment = Alignment.CenterHorizontally,
) {
itemsIndexed(range.toList()) { index, item ->
@Suppress("MagicNumber")
val isFocusedItem =
index == remember { derivedStateOf { lazyListState.firstVisibleItemIndex + 1 } }.value
@Suppress("MagicNumber")
Text(
text = item.toString(),
style = TextStyles.bodyLarge,
Expand Down

0 comments on commit ce85e2a

Please sign in to comment.