Skip to content

Commit

Permalink
Add 'Display DC Loads' to PageSettingsSystem
Browse files Browse the repository at this point in the history
Part of #1232
  • Loading branch information
DanielMcInnes committed Jan 10, 2025
1 parent 8454f50 commit f133bb1
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions pages/settings/PageSettingsSystem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,30 @@ Page {
}

ListSwitch {
//% "Has DC system"
text: qsTrId("settings_system_has_dc_system")
dataItem.uid: Global.systemSettings.serviceUid + "/Settings/SystemSetup/HasDcSystem"

Column {
anchors {
left: parent.left
leftMargin: Theme.geometry_listItem_content_horizontalMargin
verticalCenter: parent.verticalCenter
}

Label {
font.pixelSize: Theme.font_size_body2
wrapMode: Text.Wrap
//% "Display DC Loads"
text: qsTrId("settings_system_has_dc_system")
}

Label {
font.pixelSize: Theme.font_size_body1
wrapMode: Text.Wrap
color: Theme.color_font_secondary
//% "Calculated estimate of DC consumption"
text: qsTrId("settings_system_calculated_estimate_of_dc_consumption")
}
}
}

ListNavigation {
Expand Down

0 comments on commit f133bb1

Please sign in to comment.