Skip to content

Commit 9ceeaaf

Browse files
authored
Merge pull request #24 from rushhiii/main10
update
2 parents fbb54a0 + 424e8b8 commit 9ceeaaf

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

Toyota Widget/MyToyota.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,4 @@ function addDetailsGrid(widget) {
8585
addDetailBlock(row2, "Fuel", carInfo.fuel)
8686
row2.addSpacer()
8787
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)
88+
}

0 commit comments

Comments
 (0)