-
Notifications
You must be signed in to change notification settings - Fork 8
feat(android.FavoritesView): Display toast when first time on favorites & has old pinned routes #1189
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
Conversation
| modifier = Modifier.fillMaxWidth().height(IntrinsicSize.Min), | ||
| horizontalAlignment = Alignment.CenterHorizontally, | ||
| verticalArrangement = Arrangement.spacedBy(32.dp), | ||
| verticalArrangement = Arrangement.spacedBy(10.dp), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decreasing the spacing here b/c otherwise the toast blocks the "Add stops" button. Confirmed this change with design.
| assertEquals(analyticsLogged, Pair("favorites_count", "1")) | ||
| } | ||
|
|
||
| @Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated change: This test wasn't being run, and needed a little fixing to pass (UUIDs weren't matching up, causing it to fail)
b9d4408 to
1df9c12
Compare
Summary
Ticket: 🤖 | Favorites | Toast on first time only
What is this PR for?
iOS
android
- [] Expensive calculations are run inwithContext(Dispatchers.Default)where possible (ideally in shared code)Testing
What testing have you done?
Screen_Recording_20250730_150558_One.UI.Home.2.mp4