Skip to content

Commit

Permalink
Center vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
codeguru42 committed Aug 10, 2023
1 parent a1cabd8 commit 06497f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/codeguru/gocapture/ui/ImageScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private fun ToPlaySwitch(
setBlackToPlay: (Boolean) -> Unit
) {
val toPlayMessage = if (blackToPlay) stringResource(R.string.black_to_play) else stringResource(R.string.white_to_play)
Row {
Row(verticalAlignment = Alignment.CenterVertically) {
Switch(checked = blackToPlay, onCheckedChange = setBlackToPlay)
Text(text = toPlayMessage)
}
Expand Down

0 comments on commit 06497f6

Please sign in to comment.