mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
The mobile card list checked m.type against the short forms BP_SYS / BP_DIA, which never appear in API payloads — the canonical enum is BLOOD_PRESSURE_SYS / BLOOD_PRESSURE_DIA. The badge condition was therefore permanently false and the disambiguation tag never rendered on Pixel 5. Route the label through MEASUREMENT_TYPE_LABEL_KEYS so the mobile branch shares the desktop table's single source of truth, and add a regression test that asserts both labels paint in both branches under EN and DE. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>