Set timeline pin icon

This commit is contained in:
2026-05-10 00:24:48 -04:00
parent fb5ad538a9
commit 170079d8da

View File

@@ -34,7 +34,8 @@ Pebble.addEventListener("appmessage", function (dict) {
time: new Date(dict.payload["PKJS_PIN_TIMESTAMP"] * 1000).toISOString(), time: new Date(dict.payload["PKJS_PIN_TIMESTAMP"] * 1000).toISOString(),
layout: { layout: {
type: "genericPin", type: "genericPin",
title: dict.payload["PKJS_PIN_TITLE"] title: dict.payload["PKJS_PIN_TITLE"],
tinyIcon: "system://images/TV_SHOW"
} }
}; };
Pebble.insertTimelinePin(JSON.stringify(pin)); Pebble.insertTimelinePin(JSON.stringify(pin));