Fix timeline pins not appearing
This commit is contained in:
@@ -30,7 +30,7 @@ Pebble.addEventListener("appmessage", function (dict) {
|
||||
|
||||
if (dict.payload["PKJS_PIN_TIMESTAMP"] && dict.payload["PKJS_PIN_TITLE"]) {
|
||||
var pin = {
|
||||
id: dict.payload["PKJS_PIN_TIMESTAMP"],
|
||||
id: dict.payload["PKJS_PIN_TIMESTAMP"].toString(),
|
||||
time: new Date(dict.payload["PKJS_PIN_TIMESTAMP"] * 1000).toISOString(),
|
||||
layout: {
|
||||
type: "genericPin",
|
||||
|
||||
Reference in New Issue
Block a user