openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
800 stars 275 forks source link

feat: Spellchecker for OCR screens #5409

Closed g123k closed 3 months ago

g123k commented 3 months ago

Hi everyone,

Here is the implementation for #5398, that is to say, a dev mode flag to enable spellchecker on ingredients. In light mode, our theme defines an onSurface white color.

Unless we want to rewrite everything, the easier thing is just to redefine locally this color, to prevent a white-on-white color.

To investigate: I think the ThemeProvider still has issues.

Screenshots: Screenshot_1718780020 Screenshot_1718781981 Screenshot_1718781984 Screenshot_1718782113