Skip to content

Commit 9f2f3e5

Browse files
fix syntax
take a look. Co-Authored-By: Kael Nox <192391771+V0idVanguard@users.noreply.github.com>
1 parent 9f1685f commit 9f2f3e5

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

Toyota Widget/MyToyota.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,3 @@ function addDetailBlock(stack, label, value) {
100100
val.font = Font.boldSystemFont(14)
101101
val.textColor = textColor
102102
}
103-
104-
// ── 7. Compact Widget Layout (Small/Medium) ──
105-
function buildCompactWidget(widget) {
106-
widget.setPadding(12, 14, 12, 14)
107-
108-
const title = widget.addText(`${carInfo.brand} ${carInfo.model}`)
109-
title.font = Font.boldSystemFont(16)
110-
title.textColor = textColor
111-
widget.addSpacer(6)
112-
113-
addDetailText(widget, "Year", carInfo.year)
114-
addDetailText(widget, "Mileage", carInfo.mileage)
115-
addDetailText(widget, "Fuel", carInfo.fuel)
116-
addDetailText(widget, "Status", carInfo.status)
117-
}

0 commit comments

Comments
 (0)