arbox0 / NightWidget

GNU General Public License v2.0
24 stars 43 forks source link

NightWidget shows "DB?" instead of current glucose #13

Open GHNS opened 6 years ago

GHNS commented 6 years ago

With the newest beta, I cannot get the current BG on the widget. Some things I found out:

I tried to find out where the "calibrationStatus" should come from but I did not find any occurrences of that value in the database. My final workaround was to replace all occurrences of "if (calib.indexOf("NC") >= 0 || calib.indexOf("DB") >= 0)" with if (false && (calib.indexOf("NC") >= 0 || calib.indexOf("DB") >= 0)) but I am a little bit unhappy with it because I think there was some intention behind those steps.