From 4992396d38e41afc6482aeb99991b6ff3dcc9bc4 Mon Sep 17 00:00:00 2001 From: DEMEY Fanny Date: Fri, 1 Nov 2024 16:39:33 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20Button=20at=20bottom=20announce=20?= =?UTF-8?q?=E2=80=9C=20My=20=E2=80=9C=20+=20pause=20+=20=E2=80=9CLocation?= =?UTF-8?q?=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../soundscape/components/MainSearchBar.kt | 1 - .../soundscape/screens/home/home/HomeBottomAppBar.kt | 5 +++-- app/src/main/res/values/strings.xml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/org/scottishtecharmy/soundscape/components/MainSearchBar.kt b/app/src/main/java/org/scottishtecharmy/soundscape/components/MainSearchBar.kt index da7b9610..b707ff2d 100644 --- a/app/src/main/java/org/scottishtecharmy/soundscape/components/MainSearchBar.kt +++ b/app/src/main/java/org/scottishtecharmy/soundscape/components/MainSearchBar.kt @@ -22,7 +22,6 @@ import androidx.compose.material3.TextFieldDefaults import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color -import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp @OptIn(ExperimentalMaterial3Api::class) diff --git a/app/src/main/java/org/scottishtecharmy/soundscape/screens/home/home/HomeBottomAppBar.kt b/app/src/main/java/org/scottishtecharmy/soundscape/screens/home/home/HomeBottomAppBar.kt index 9e5540d4..7b8c128b 100644 --- a/app/src/main/java/org/scottishtecharmy/soundscape/screens/home/home/HomeBottomAppBar.kt +++ b/app/src/main/java/org/scottishtecharmy/soundscape/screens/home/home/HomeBottomAppBar.kt @@ -122,7 +122,7 @@ private fun HomeBottomAppBarButton( }, shape = RectangleShape, modifier = modifier, - contentPadding = PaddingValues(0.dp) + contentPadding = PaddingValues(4.dp) ) { Column( verticalArrangement = Arrangement.Top, @@ -143,8 +143,9 @@ private fun HomeBottomAppBarButton( Text( text = text, textAlign = TextAlign.Center, - style = MaterialTheme.typography.labelMedium + style = MaterialTheme.typography.labelMedium, ) + } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 92b64289..8f25c906 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -53,13 +53,13 @@ Markers & Routes Hear My Surroundings - My\nLocation + My Location What\'s My Location? - Around\nMe + Around Me What\'s Around Me? - Ahead\nof Me + Ahead of Me What\'s Ahead of Me? - Nearby\nMarkers + Nearby Markers Hear Markers Nearby Yes