fix: Add missing detail fields to HiddenSpecs initialization
Fixed bug where AI analysis detail fields (type, alcoholContent, polishingRatio, sakeMeterValue, riceVariety, yeast, manufacturingYearMonth) were not being saved to HiddenSpecs, causing them to display as "-" in the UI. Root cause: camera_screen.dart was only passing 3 fields (description, tasteStats, flavorTags) to HiddenSpecs constructor, missing 7 detail fields that Gemini API was successfully returning. Verified: All detail fields now display correctly after AI analysis. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
246826eeca
commit
a1b25bf3a7
|
|
@ -357,6 +357,13 @@ class _CameraScreenState extends ConsumerState<CameraScreen> with SingleTickerPr
|
||||||
description: result.description,
|
description: result.description,
|
||||||
tasteStats: result.tasteStats,
|
tasteStats: result.tasteStats,
|
||||||
flavorTags: result.flavorTags,
|
flavorTags: result.flavorTags,
|
||||||
|
type: result.type,
|
||||||
|
alcoholContent: result.alcoholContent,
|
||||||
|
polishingRatio: result.polishingRatio,
|
||||||
|
sakeMeterValue: result.sakeMeterValue,
|
||||||
|
riceVariety: result.riceVariety,
|
||||||
|
yeast: result.yeast,
|
||||||
|
manufacturingYearMonth: result.manufacturingYearMonth,
|
||||||
),
|
),
|
||||||
metadata: Metadata(
|
metadata: Metadata(
|
||||||
createdAt: DateTime.now(),
|
createdAt: DateTime.now(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue