Skip to content

Commit

Permalink
fix: Button at bottom announce “ My “ + pause + “Location”.
Browse files Browse the repository at this point in the history
  • Loading branch information
FannyDemey committed Nov 1, 2024
1 parent e3996a4 commit 4992396
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private fun HomeBottomAppBarButton(
},
shape = RectangleShape,
modifier = modifier,
contentPadding = PaddingValues(0.dp)
contentPadding = PaddingValues(4.dp)
) {
Column(
verticalArrangement = Arrangement.Top,
Expand All @@ -143,8 +143,9 @@ private fun HomeBottomAppBarButton(
Text(
text = text,
textAlign = TextAlign.Center,
style = MaterialTheme.typography.labelMedium
style = MaterialTheme.typography.labelMedium,
)

}
}
}
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
<string name="search_view_markers">Markers &amp; Routes</string>

<string name="callouts_panel_title">Hear My Surroundings</string>
<string name="ui_action_button_my_location">My\nLocation</string>
<string name="ui_action_button_my_location">My Location</string>
<string name="user_activity_my_location_title">What\'s My Location?</string>
<string name="ui_action_button_around_me">Around\nMe</string>
<string name="ui_action_button_around_me">Around Me</string>
<string name="user_activity_around_me_title">What\'s Around Me?</string>
<string name="ui_action_button_ahead_of_me">Ahead\nof Me</string>
<string name="ui_action_button_ahead_of_me">Ahead of Me</string>
<string name="user_activity_ahead_of_me_title">What\'s Ahead of Me?</string>
<string name="ui_action_button_nearby_markers">Nearby\nMarkers</string>
<string name="ui_action_button_nearby_markers">Nearby Markers</string>
<string name="user_activity_nearby_markers_title">Hear Markers Nearby</string>

<string name="general_alert_yes">Yes</string>
Expand Down

0 comments on commit 4992396

Please sign in to comment.