You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I know the issue here. The API is returning the data in mg/dL. Selecting the units just adjusts how it determines the y-axis values. I could do the math to convert, but I know there are instances where the API returns mmol/L data, which would cause that to break.
When I changed my instance to display mmol/L, the API still returned mg/dL data. Let me dig some more and see if I can figure out how to force it to return mmol/L data.
This should be resolved in the attached version (or you can grab the 14-switch-to-mmoll-doesnt-seem-to-be-working branch if you want to build it yourself)
I don't have it working yet to where it will trigger an API call after you save the settings. I was going to do that now, but I had surgery on my hand Friday and typing isn't super easy at the moment. Once I get that done, I'll create a new release. Until then you can either wait 5 minutes for the next API call, or just quit and restart the program.
Set as mmol/l:
Set as mg/dl:
Taskbar icon for both settings:
It looks as though it's still showing in mg/dl, but adding in a decimal place?
The text was updated successfully, but these errors were encountered: