The list showed only initials even when a variety had a photo (quick-add stores one as an encrypted BLOB). Now the avatar shows the first photo, falling back to the initial — matching the "foto/inicial" list spec. - VarietyListItem carries the first photo bytes; watchInventory loads them in a single query per emission. - List tile renders a MemoryImage avatar when present. Tests: repository (photo bytes surfaced, null when none) and a widget test (avatar replaces the initial). Full suite: 37 passing, 0 skipped. |
||
|---|---|---|
| .. | ||
| inventory_list_screen.dart | ||
| quantity_kind_l10n.dart | ||
| quick_add_sheet.dart | ||
| variety_detail_screen.dart | ||