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

Adding country flag emoji support on roster card. #348

Merged
merged 4 commits into from
Aug 12, 2023

Conversation

AdamMc331
Copy link
Owner

Summary

Roster card now shows the emoji of the player's country in front of their name.

How It Was Tested

Manual testing.

Screenshot/Gif

Team Detail

ComplexityRoster

@@ -27,7 +27,7 @@ internal fun RosterCardListItem(
),
headlineText = {
Text(
text = playerText,
text = "${player.countryFlagUnicode} $playerText",
Copy link
Owner Author

Choose a reason for hiding this comment

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

What if there's some issue in data flow & we don't have a country code?

@AdamMc331 AdamMc331 merged commit ff86bea into development Aug 12, 2023
@AdamMc331 AdamMc331 deleted the team_detail_improvements branch August 12, 2023 02:40
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