diff options
Diffstat (limited to '')
-rw-r--r-- | src/settings/UiSettingsPage.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/settings/UiSettingsPage.qml b/src/settings/UiSettingsPage.qml index 2009ec6..c349db7 100644 --- a/src/settings/UiSettingsPage.qml +++ b/src/settings/UiSettingsPage.qml @@ -49,6 +49,13 @@ Item { checked: hrPreviewVisible.value onCheckedChanged: hrPreviewVisible.value = checked } + LabeledSwitch { + width: parent.width + height: width*0.25 + text: "Show weight preview" + checked: weightPreviewVisible.value + onCheckedChanged: weightPreviewVisible.value = checked + } } } @@ -62,4 +69,9 @@ Item { key: "/org/asteroidos/health/ui/heartrate/showpreview" defaultValue: true } + ConfigurationValue { + id: weightPreviewVisible + key: "/org/asteroidos/health/ui/weight/showpreview" + defaultValue: true + } } |