Files
platform/ios/Platform
Yusuf Suleman b5d734efe1
All checks were successful
Security Checks / dependency-audit (push) Successful in 13s
Security Checks / secret-scanning (push) Successful in 4s
Security Checks / dockerfile-lint (push) Successful in 4s
fix: #29 — edit food name, macros, unit in food library
Long-press a food → "Edit" opens EditFoodSheet with:
- Name and brand fields
- All macros: calories, protein, carbs, fat, sugar, fiber
- Base unit field
- Save calls PATCH /api/fitness/foods/{id}
- List refreshes after save

Also added updateFood() to FitnessAPI and UpdateFoodRequest model.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 22:31:46 -05:00
..