android/ui: change click target for exit node picker

This makes sure only the relevant UI control flashes on click

Updates #cleanup

Signed-off-by: Percy Wegmann <percy@tailscale.com>
ox/exit_node_clickable
Percy Wegmann 2 months ago
parent fb5635b8a5
commit f76a754ef2
No known key found for this signature in database
GPG Key ID: 29D8CDEB4C13D48B

@ -146,12 +146,12 @@ fun ExitNodeStatus(navAction: () -> Unit, viewModel: MainViewModel) {
Box(
modifier =
Modifier.clickable { navAction() }
.padding(horizontal = 16.dp)
Modifier.padding(horizontal = 16.dp)
.clip(shape = RoundedCornerShape(10.dp, 10.dp, 10.dp, 10.dp))
.background(MaterialTheme.colorScheme.background)
.fillMaxWidth()) {
ListItem(
modifier = Modifier.clickable { navAction() },
headlineContent = {
Text(
stringResource(R.string.exit_node),

Loading…
Cancel
Save