@@ -87,36 +87,3 @@ function addDetailsGrid(widget) {
8787 addDetailBlock ( row2 , "Status" , carInfo . status )
8888}
8989
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 )
101- << < << << Updated upstream
102- val . textColor = textColor
103- }
104-
105- // ── 7. Compact Widget Layout (Small/Medium) ──
106- function buildCompactWidget ( widget ) {
107- widget . setPadding ( 12 , 14 , 12 , 14 )
108-
109- const title = widget . addText ( `${ carInfo . brand } ${ carInfo . model } ` )
110- title . font = Font . boldSystemFont ( 16 )
111- title . textColor = textColor
112- widget . addSpacer ( 6 )
113-
114- addDetailText ( widget , "Year" , carInfo . year )
115- addDetailText ( widget , "Mileage" , carInfo . mileage )
116- addDetailText ( widget , "Fuel" , carInfo . fuel )
117- addDetailText ( widget , "Status" , carInfo . status )
118- }
119- === = ===
120- val . textColor = textColor ;
121- }
122- >>> >>> > Stashed changes
0 commit comments