Update pebble.app.js
parent
181db37867
commit
c8e90b1f92
|
|
@ -125,14 +125,17 @@ function loadThemeColors() {
|
|||
}
|
||||
|
||||
function drawLock(){
|
||||
if (settings.showlock == 'true') {
|
||||
if (Bangle.isLocked()){
|
||||
g.setColor(theme.day);
|
||||
g.setBgColor(settings.bg);
|
||||
g.drawImage(atob("DhABH+D/wwMMDDAwwMf/v//4f+H/h/8//P/z///f/g=="), 1, 4);
|
||||
} else {
|
||||
g.setColor(settings.bg);
|
||||
g.fillRect(0, 0, 20, 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Bangle.on('lock', function(on) {
|
||||
drawLock();
|
||||
|
|
|
|||
Loading…
Reference in New Issue