Commit 191dbd0
Keith Klein
Fix overlay showing stale glucose value instead of latest
GetCurrentReadingAsync() used FirstOrDefault() on the ascending-sorted
cached readings list, returning the oldest reading in the 10-minute
window instead of the newest. Changed to LastOrDefault() so the overlay
value matches the graph window.1 parent d696d8e commit 191dbd0
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- DexcomOverlay/Services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments