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"]) {
|
if (dict.payload["PKJS_PIN_TIMESTAMP"] && dict.payload["PKJS_PIN_TITLE"]) {
|
||||||
var pin = {
|
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(),
|
time: new Date(dict.payload["PKJS_PIN_TIMESTAMP"] * 1000).toISOString(),
|
||||||
layout: {
|
layout: {
|
||||||
type: "genericPin",
|
type: "genericPin",
|
||||||
|
|||||||
Reference in New Issue
Block a user