mirror of https://github.com/espruino/BangleApps
try to fix the issue with the watchface drawing over the Activity Reminder
parent
efe25635dc
commit
0fee4bd8c4
|
@ -39,6 +39,9 @@ if (global.activityreminder) {
|
||||||
},
|
},
|
||||||
|
|
||||||
showAlert: function(){
|
showAlert: function(){
|
||||||
|
g.clear();
|
||||||
|
Bangle.loadWidgets();
|
||||||
|
Bangle.drawWidgets();
|
||||||
E.showPrompt("Innactivity detected",{
|
E.showPrompt("Innactivity detected",{
|
||||||
title:"Activity reminder",
|
title:"Activity reminder",
|
||||||
buttons : {"Ok": true,"Dismiss": false}
|
buttons : {"Ok": true,"Dismiss": false}
|
||||||
|
@ -52,11 +55,11 @@ if (global.activityreminder) {
|
||||||
load();
|
load();
|
||||||
});
|
});
|
||||||
Bangle.buzz();
|
Bangle.buzz();
|
||||||
|
setTimeout(load, 10000);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
setInterval(global.activityreminder.run, 60000);
|
setInterval(global.activityreminder.run, 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue