oliexdev / openScale

Open-source weight and body metrics tracker, with support for Bluetooth scales
GNU General Public License v3.0
1.66k stars 290 forks source link

Unable to switch some measurements on #1027

Closed kir0ul closed 4 months ago

kir0ul commented 5 months ago

Describe the bug I'm unable to add some measurements (the body fat caliper and waist-hip ratio, other measurements seems to work fine) to the list of measurements, apparently I'm able to switch on the toggle buttons but the measurements names stay greyed out and are not added to the measurement list that can be logged. Also, nothing happens when the settings/cog button next to the toggle button gets pressed.

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings > Measurements
  2. Click on Body fat caliper or Waist-hip ratio, the toggle gets activated, but the name stay greyed out

Reproduced with: v2.5.2 (64)

Expected behavior Click on the toggle button to add the measurement to the list of measurements that can be logged.

Additional context Screenshot of the measurements settings:

Screenshot of the measurements list I can log:

kir0ul commented 4 months ago

I tried uninstalling and reinstalling, but I still have the same issue.

oliexdev commented 4 months ago

You can enable Wait-Hip measurement it if you enable the hip and waist measurment otherwise for the Wait-Hip ratio a measurement is missing, same for the caliper measurment, you need to enable all caliper measurement first.

kir0ul commented 4 months ago

Oh ok I didn't understand that, that works now, thanks!