Skip to content

Mi scale 2 dual impedance#1376

Open
oliexdev wants to merge 2 commits into
oliexdev:masterfrom
DanyPM:mi_scale_2_dual_impedance
Open

Mi scale 2 dual impedance#1376
oliexdev wants to merge 2 commits into
oliexdev:masterfrom
DanyPM:mi_scale_2_dual_impedance

Conversation

@oliexdev
Copy link
Copy Markdown
Owner

No description provided.

* operations. Still written to the DB so processors can re-run with newer
* formulas later.
*/
fun isInternal(): Boolean = this == IMPEDANCE || this == IMPEDANCE_LOW
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to remove that "hack" and add for that directly in the database for "MeasurementType" a new var isInternal : Boolean = false, then its more obvious everywhere.

MeasurementType(key = MeasurementTypeKey.ECW, unit = UnitType.PERCENT, color = 0xFF4FC3F7.toInt(), icon = MeasurementTypeIcon.IC_DEFAULT, isEnabled = false),
MeasurementType(key = MeasurementTypeKey.ICW, unit = UnitType.PERCENT, color = 0xFF0288D1.toInt(), icon = MeasurementTypeIcon.IC_DEFAULT, isEnabled = false),
MeasurementType(key = MeasurementTypeKey.PROTEIN, unit = UnitType.PERCENT, color = 0xFF9CCC65.toInt(), icon = MeasurementTypeIcon.IC_DEFAULT, isEnabled = false),
MeasurementType(key = MeasurementTypeKey.BCM, unit = UnitType.KG, color = 0xFF558B2F.toInt(), icon = MeasurementTypeIcon.IC_DEFAULT, isEnabled = false),
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need nice icons for the new MeasurementTypes any suggestions? If possible not one that we already have.

@DanyPM
Copy link
Copy Markdown
Contributor

DanyPM commented May 22, 2026

Thanks ! I'll go over it next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants