[Pavlok] Zap force-quitters

This commit is contained in:
2026-08-18 15:49:26 -04:00
parent 0ef3101fe8
commit ad59a338a8
5 changed files with 41 additions and 34 deletions
+1 -1
View File
@@ -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);
}