vanthomiy / Sleepest

MIT License
3 stars 0 forks source link

History fragment shows the wrong colors in the pie chart #152

Closed FabiM96 closed 3 years ago

FabiM96 commented 3 years ago

Screenshot_2021-09-25-10-04-58-200_com sleepestapp sleepest

As you can see in the screenshot, the rem sleep phase in the pie chart has the wrong color. I've added the csv files of the db and marked the important rows for you.

sleepest_database-sleep_api_raw_data_table_25_09_2021.csv sleepest_database-user_sleep_session_entity_25_09_2021.csv .

FabiM96 commented 3 years ago

Same today. Maybe because there is no awake phase.

FabiM96 commented 3 years ago

Last night the pie chart was correct. There was also a short awake phase last night, I think this could be probably the problem.

Meraxa commented 3 years ago

Should be fixed. Verification pending.

vanthomiy commented 3 years ago
FabiM96 commented 3 years ago

Screenshot_2021-09-30-09-31-41-260_com.sleepestapp.sleepest.jpg

The problem occurs also if no deep sleep phase is available.

Meraxa commented 3 years ago

Should be fixed. Verification pending. (Again)