NMF-earth / nmf-app

Understand and reduce your carbon footprint 🌱 iOS & Android.
https://nmf.earth
GNU General Public License v3.0
508 stars 157 forks source link

[#379] Fixing the bug where scanned products will show 200 as CO2e #386

Closed saurabhchatterjee23 closed 1 year ago

saurabhchatterjee23 commented 1 year ago

✅ I have read the contributing file

Summary

https://github.com/NMF-earth/nmf-app/issues/379

This bug happened if the slider was not moved before adding the scanned product to the emission lists. This happened because in the default value that was passed to the packageScanScreen the emission value that is read from Open Food database was not taken in consideration

Changelog

Demo

PierreBresson commented 1 year ago

Works well ✅ Thanks @saurabhchatterjee23