We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fbb54a0 + 424e8b8 commit 9ceeaafCopy full SHA for 9ceeaaf
1 file changed
Toyota Widget/MyToyota.js
@@ -85,16 +85,4 @@ function addDetailsGrid(widget) {
85
addDetailBlock(row2, "Fuel", carInfo.fuel)
86
row2.addSpacer()
87
addDetailBlock(row2, "Status", carInfo.status)
88
-}
89
-
90
-// ── 6. Detail Block Renderer ──
91
-function addDetailBlock(stack, label, value) {
92
- const block = stack.addStack()
93
- block.layoutVertically()
94
95
- const lbl = block.addText(label)
96
- lbl.font = Font.mediumSystemFont(11)
97
- lbl.textColor = secondaryTextColor
98
99
- const val = block.addText(value.toString())
100
- val.font = Font.boldSystemFont(14)
+}
0 commit comments