fix: #1700 - nutrients - refactored "save" action as in SimpleInputPage (#2338)

Impacted files:
* `app_en.arb`: removed 2 labels not used anymore
* `nutrition_container.dart`: added "no nutrition data"
* `nutrition_page_loaded.dart`: refactored the "save" action as in `SimpleInputPage`; added "no nutrition data"; just trying - remove the status bar recoloring; added a save/cancel bottom bar; fixed a bug in `_isEdited`
* `product_query.dart`: added field "no nutrition data"
This commit is contained in:
monsieurtanuki
2022-06-24 12:58:42 +02:00
committed by GitHub
parent a521305d02
commit 0f94837966
4 changed files with 135 additions and 117 deletions

View File

@ -99,6 +99,7 @@ abstract class ProductQuery {
ProductField.SERVING_SIZE,
ProductField.STORES,
ProductField.PACKAGING_QUANTITY,
ProductField.NO_NUTRITION_DATA,
ProductField.NUTRIMENTS,
ProductField.NUTRIENT_LEVELS,
ProductField.NUTRIMENT_ENERGY_UNIT,