Skip to content

Commit 34eb8ec

Browse files
authored
Update MyToyota.js
1 parent 8c0e1ee commit 34eb8ec

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Toyota Widget/MyToyota.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ function addDetailText(widget, label, value) {
107107
val.font = Font.mediumSystemFont(12)
108108
}
109109

110-
110+
// Toyota Car Widget - Part 8: Auto-preview fallback
111+
if (config.runsInApp) {
112+
await widget.presentMedium()
113+
}
111114

112115
if (widgetSize === "large") {
113116
await buildLargeWidget(widget)

0 commit comments

Comments
 (0)