Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-manuel committed Feb 19, 2024
1 parent af0d0da commit 8a8516d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions pages/settings/devicelist/battery/PageBatteryCells.qml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_1 + "V"
text: batteryVoltagesCell_1 != "--" ? batteryVoltagesCell_1 + "V" : "--"
color: cellTextColor1
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -216,7 +216,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_2 + "V"
text: batteryVoltagesCell_2 != "--" ? batteryVoltagesCell_2 + "V" : "--"
color: cellTextColor2
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -231,7 +231,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_3 + "V"
text: batteryVoltagesCell_3 != "--" ? batteryVoltagesCell_3 + "V" : "--"
color: cellTextColor3
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -246,7 +246,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_4 + "V"
text: batteryVoltagesCell_4 != "--" ? batteryVoltagesCell_4 + "V" : "--"
color: cellTextColor4
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -267,7 +267,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_5 + "V"
text: batteryVoltagesCell_5 != "--" ? batteryVoltagesCell_5 + "V" : "--"
color: cellTextColor5
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -282,7 +282,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_6 + "V"
text: batteryVoltagesCell_6 != "--" ? batteryVoltagesCell_6 + "V" : "--"
color: cellTextColor6
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -297,7 +297,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_7 + "V"
text: batteryVoltagesCell_7 != "--" ? batteryVoltagesCell_7 + "V" : "--"
color: cellTextColor7
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -312,7 +312,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_8 + "V"
text: batteryVoltagesCell_8 != "--" ? batteryVoltagesCell_8 + "V" : "--"
color: cellTextColor8
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -333,7 +333,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_9 + "V"
text: batteryVoltagesCell_9 != "--" ? batteryVoltagesCell_9 + "V" : "--"
color: cellTextColor9
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -348,7 +348,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_10 + "V"
text: batteryVoltagesCell_10 != "--" ? batteryVoltagesCell_10 + "V" : "--"
color: cellTextColor10
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -363,7 +363,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_11 + "V"
text: batteryVoltagesCell_11 != "--" ? batteryVoltagesCell_11 + "V" : "--"
color: cellTextColor11
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -378,7 +378,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_12 + "V"
text: batteryVoltagesCell_12 != "--" ? batteryVoltagesCell_12 + "V" : "--"
color: cellTextColor12
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -399,7 +399,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_13 + "V"
text: batteryVoltagesCell_13 != "--" ? batteryVoltagesCell_13 + "V" : "--"
color: cellTextColor13
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -414,7 +414,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_14 + "V"
text: batteryVoltagesCell_14 != "--" ? batteryVoltagesCell_14 + "V" : "--"
color: cellTextColor14
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -429,7 +429,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_15 + "V"
text: batteryVoltagesCell_15 != "--" ? batteryVoltagesCell_15 + "V" : "--"
color: cellTextColor15
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -444,7 +444,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_16 + "V"
text: batteryVoltagesCell_16 != "--" ? batteryVoltagesCell_16 + "V" : "--"
color: cellTextColor16
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -466,7 +466,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_17 + "V"
text: batteryVoltagesCell_17 != "--" ? batteryVoltagesCell_17 + "V" : "--"
color: cellTextColor17
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -481,7 +481,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_18 + "V"
text: batteryVoltagesCell_18 != "--" ? batteryVoltagesCell_18 + "V" : "--"
color: cellTextColor18
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -496,7 +496,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_19 + "V"
text: batteryVoltagesCell_19 != "--" ? batteryVoltagesCell_19 + "V" : "--"
color: cellTextColor19
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -511,7 +511,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_20 + "V"
text: batteryVoltagesCell_20 != "--" ? batteryVoltagesCell_20 + "V" : "--"
color: cellTextColor20
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -533,7 +533,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_21 + "V"
text: batteryVoltagesCell_21 != "--" ? batteryVoltagesCell_21 + "V" : "--"
color: cellTextColor21
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -548,7 +548,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_22 + "V"
text: batteryVoltagesCell_22 != "--" ? batteryVoltagesCell_22 + "V" : "--"
color: cellTextColor22
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -563,7 +563,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_23 + "V"
text: batteryVoltagesCell_23 != "--" ? batteryVoltagesCell_23 + "V" : "--"
color: cellTextColor23
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand All @@ -578,7 +578,7 @@ Page {
Column {
width: ( parent.width - Theme.geometry_page_content_horizontalMargin ) / 4
Text {
text: batteryVoltagesCell_24 + "V"
text: batteryVoltagesCell_24 != "--" ? batteryVoltagesCell_24 + "V" : "--"
color: cellTextColor24
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
Expand Down

0 comments on commit 8a8516d

Please sign in to comment.