Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Android more tab #560

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: Android more tab #560

wants to merge 4 commits into from

Conversation

KaylaBrady
Copy link
Collaborator

@KaylaBrady KaylaBrady commented Nov 27, 2024

Summary

Ticket: [Android] set up more page

What is this PR for?
Adds basic more tab.

This maintains the structure of NearbyTransitPage and MorePage having separate BottomNavBars.
We could potentially pull the bar up a level as described in the Navigate with Compose tutorial, but we don't always wan the bar to show (NearbyTransitPage manages the logic of hiding the bar for StopDetails, and leaving that within NearbyTransitPage feels appropriate).

  • If you added any user facing strings on iOS, are they included in Localizable.xcstrings?
    • Add temporary machine translations, marked "Needs Review"

Testing

What testing have you done?

  • Ran locally and switched back and forth between more and nearby transit successfully.

image

@@ -153,6 +149,10 @@ fun NearbyTransitPage(
}

LaunchedEffect(navRoute) {
if (navBarVisible) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that when navigating between Nearby Transit & Stop Details, the bottom nav bar would flicker in and out. This seems to resolve the problem

@KaylaBrady KaylaBrady marked this pull request as ready for review November 27, 2024 18:42
@KaylaBrady KaylaBrady requested a review from a team as a code owner November 27, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant