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>
pull/248/head
Percy Wegmann 8 months ago committed by Percy Wegmann
parent fb5635b8a5
commit cf6a203f7a

@ -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