From 181db378678b2d51c216df462440b4f0f076bf3d Mon Sep 17 00:00:00 2001 From: sir-indy <53864146+sir-indy@users.noreply.github.com> Date: Tue, 29 Mar 2022 14:17:13 +0100 Subject: [PATCH] Update pebble.app.js --- apps/pebble/pebble.app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/pebble/pebble.app.js b/apps/pebble/pebble.app.js index b6576671c..e583f1706 100644 --- a/apps/pebble/pebble.app.js +++ b/apps/pebble/pebble.app.js @@ -130,11 +130,11 @@ function drawLock(){ g.drawImage(atob("DhABH+D/wwMMDDAwwMf/v//4f+H/h/8//P/z///f/g=="), 1, 4); } else { g.setColor(settings.bg); - g.drawRect(0, 0, 20, 20); + g.fillRect(0, 0, 20, 20); } } -Bangle.on('lock', function(isLocked) { +Bangle.on('lock', function(on) { drawLock(); });