mirror of
https://git.wetfence.xyz/RandyTheSilly/Trigalarm.git
synced 2026-10-27 03:09:58 -04:00
[Pavlok] Zap force-quitters
This commit is contained in:
1 parent
0ef3101fe8
commit
ad59a338a8
5 files changed
+41
-34
No files matched your search
+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