From f689d772d62bf0bb7adc1ae27cb5fe77ca794136 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Thu, 3 Oct 2024 17:55:42 -0500 Subject: [PATCH] fix: Add elevation to NodeItem card (#1286) This commit adds elevation to the NodeItem card to visually distinguish it. --- app/src/main/java/com/geeksville/mesh/ui/NodeItem.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/geeksville/mesh/ui/NodeItem.kt b/app/src/main/java/com/geeksville/mesh/ui/NodeItem.kt index ea7234fb..110ff2c1 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/NodeItem.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/NodeItem.kt @@ -138,6 +138,7 @@ fun NodeItem( .fillMaxWidth() .padding(horizontal = 8.dp, vertical = 4.dp) .defaultMinSize(minHeight = 80.dp), + elevation = 4.dp, onClick = { showDetails(!detailsShown) }, ) { Surface {