Skip to content

Commit

Permalink
refactor: 💡 replace it with a named variable value for better readabi…
Browse files Browse the repository at this point in the history
…lity
  • Loading branch information
yan-yangyang committed May 13, 2024
1 parent f7d2147 commit c6eb280
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class SettingsScreenUiTest {
state = SettingsState(),
onThemeSelected = {},
onWideNotationOptionSelected = {},
onAddSpaceBetweenNotationChanged = {
addSpaceAfterNotationSwitchValue = it
onAddSpaceBetweenNotationChanged = { value ->
addSpaceAfterNotationSwitchValue = value
},
onVibrateOnTapChanged = {
vibrateOnTapSwitchValue = it
onVibrateOnTapChanged = { value ->
vibrateOnTapSwitchValue = value
}
)
}
Expand Down

0 comments on commit c6eb280

Please sign in to comment.