[Pavlok] Zap force-quitters
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ Pebble.addEventListener("ready", function () {
|
||||
});
|
||||
|
||||
Pebble.addEventListener("appmessage", function (dict) {
|
||||
if (dict.payload["PKJS_PAVLOK_ENGAGE"]) {
|
||||
if (dict.payload["PKJS_PAVLOK_ZAP"]) {
|
||||
const cfg = JSON.parse(localStorage.getItem('clay-settings'));
|
||||
callAPI(cfg.PKJS_PAVLOK_API_KEY, cfg.PKJS_PAVLOK_ZAP_INTENSITY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user