-
-
Save eevajonnapanula/9b66e2c16c517e65aa67adc7c552d52e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SettingsScreen.kt | |
@Composable | |
fun ColorOption( | |
option: ColorOptionData, | |
isCurrentTheme: Boolean, | |
setColorScheme: (Theme?) -> Unit | |
) { | |
... | |
Row( | |
modifier = Modifier.selectable( | |
selected = isCurrentTheme, | |
role = Role.RadioButton | |
) { | |
setColorScheme(option.theme) | |
}, | |
... | |
) { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment