openfoodfacts / openfoodfacts-ios

Native (Swift) version of Open Food Facts for iOS. Coders & Decoders welcome 🤳🥫 😊
https://ios.openfoodfacts.org
Apache License 2.0
356 stars 157 forks source link

Show the Unknown icons when the Scores are unknown #817

Open teolemon opened 3 years ago

teolemon commented 3 years ago

image We now have unknown icons that can help stabilize layouts. We could show them on

when the values are unknown https://static.openfoodfacts.org/images/misc/nutriscore-unknown.svg https://static.openfoodfacts.org/images/misc/nova-group-unknown.svg https://static.openfoodfacts.org/images/icons/ecoscore-unknown.svg

aleene commented 3 years ago

Has already been done for ecoscore.

teolemon commented 3 years ago

in the Environment tab only for now.

aleene commented 3 years ago

Can you generate them as png's with the same scale and aspect ratio as the coloured ones. I do not manage to get the right values.

teolemon commented 3 years ago

https://static.openfoodfacts.org/images/misc/nutriscore-unknown.png https://static.openfoodfacts.org/images/misc/nova-group-unknown.png

teolemon commented 3 years ago

nova-group-unknown-3X nutriscore-unknown-3X @aleene