add better eco ratings
Android Release Build / build-android (push) Failing after 7m36s

This commit is contained in:
Frederik Spirgi
2026-10-26 11:31:20 +01:00
parent b49d5aa171
commit 26a52658aa
14 changed files with 1020 additions and 155 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import RatingCriteriaDetailScreen from './src/screens/RatingCriteriaDetailScreen
import ScanScreen from './src/screens/ScanScreen';
import ShoppingListScreen from './src/screens/ShoppingListScreen';
import { lookupProductByBarcode } from './src/services/productApi';
import { enrichEnvironmentalProduct } from './src/services/environmentalService';
import { storageService } from './src/services/storageService';
import { colors, defaultPreferences } from './src/utils/constants';
@@ -204,7 +205,7 @@ export default function App() {
}
function openProduct(product) {
const pricedProduct = applyManualPrice(product);
const pricedProduct = applyManualPrice(enrichEnvironmentalProduct(product));
addProductToCache(pricedProduct);
addRecentProduct(pricedProduct);
setRoute({ name: 'productDetail', product: pricedProduct });