openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad logos for "Signal a problem" in offline

monsieurtanuki opened this issue · comments

What

  • On the product page, at the end there's a "Signal a problem" card.
  • This card doesn't display well offline in dark mode:
    • the OFF icon is not adapted to dark mode (probably because the server doesn't return a distinct icon for light and dark)
    • the "Signal conso" logo is not displayed (probably because it's not in the local assets icons)

Steps to reproduce the behavior

  1. Close the app
  2. Put your device in offline mode
  3. Start the app
  4. Switch to dark mode at the app level
  5. Go to a recent product page
  6. Scroll down to the bottom of that page, to the "Signal conso" card
  7. The icons don't look well

Screenshot/Mockup/Before-After

Dark
Screenshot_20240623_080830

Light
Screenshot_20240623_082302