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

Missing flag handling in ColorMyWorld #1603

Open
llaske opened this issue Apr 19, 2024 · 3 comments
Open

Missing flag handling in ColorMyWorld #1603

llaske opened this issue Apr 19, 2024 · 3 comments

Comments

@llaske
Copy link
Owner

llaske commented Apr 19, 2024

When there is a missing flag for a country in ColorMyWorld, the popup display undefined before the country name.
It will be better to display nothing in this case.

2t7nCztPC7

@vraj-712
Copy link

But i think you want to remove that undefined part, right ? not whole pop up box

@vraj-712
Copy link

vraj-712 commented May 2, 2024

Can you please describe how you want that?? because i am unable to understand your requirements

@llaske
Copy link
Owner Author

llaske commented May 4, 2024

Can you please describe how you want that?? because i am unable to understand your requirements

The fix suggested by @hharshas is good but is not enough. It solve the case where there is no existing emoji matching the country name in the activity.
But like I mentioned here, there is an existing emoji for St Vincent Grenadines. The problem is that the name mentioned in the flag constant doesn't match the name of the country so just changing the value to Saint_Vincent_and_the_Grenadines will make the flag appears.
So it should be nice to fix the value and double-check values for other countries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants