Skip to content

Commit

Permalink
chore: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslowry committed Feb 3, 2024
1 parent 6a8c007 commit 5329f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun TrackerEntry(
// the "10" gets stacked and looks janky. revisit
SingleChoiceSegmentedButtonRow(modifier = modifier.fillMaxWidth()) {
trackerType.options.forEachIndexed { index, option ->
SegmentedButton(enabled = enabled, selected = option.value == value, icon= {}, onClick = { onChange(option.value) }, shape = SegmentedButtonDefaults.itemShape(index = index, count = trackerType.options.size)) {
SegmentedButton(enabled = enabled, selected = option.value == value, icon = {}, onClick = { onChange(option.value) }, shape = SegmentedButtonDefaults.itemShape(index = index, count = trackerType.options.size)) {
Text(text = option.text?.let { text -> stringResource(id = text) } ?: option.value.toString())
}
}
Expand Down

0 comments on commit 5329f52

Please sign in to comment.