Increase settings touch target for radio button and text link

Change-Id: If80f1a94a82eb6fd7aef7b6ee8fff9640032d180
pull/573/head
Angie Sasmita 2 years ago
parent 8a25efabfc
commit a8d7d3b1a2

@ -227,7 +227,7 @@ fun SettingsDialogThemeChooserRow(
role = Role.RadioButton, role = Role.RadioButton,
onClick = onClick, onClick = onClick,
) )
.padding(8.dp), .padding(12.dp),
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
RadioButton( RadioButton(
@ -285,6 +285,7 @@ private fun TextLink(text: String, url: String) {
style = MaterialTheme.typography.labelLarge, style = MaterialTheme.typography.labelLarge,
color = MaterialTheme.colorScheme.primary, color = MaterialTheme.colorScheme.primary,
modifier = Modifier modifier = Modifier
.padding(vertical = 8.dp)
.clickable { .clickable {
ContextCompat.startActivity(context, launchResourceIntent, null) ContextCompat.startActivity(context, launchResourceIntent, null)
}, },

Loading…
Cancel
Save