mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
The key is a function of the marker's name and unit, but it was only ever filled, never replaced, so a marker renamed from Glucose to Cholesterol kept converting readings with the glucose factor. The marker edit now re-derives it with the same match the creation paths use (clearing it when the new name matches nothing), and the fill step a reading runs brings a stored key back in line with the name, so a key written before this fix is corrected the first time it matters. The scan review derives the key the same way as the commit.