mirror of https://github.com/espruino/BangleApps
Merge pull request #1772 from myxor/activityreminder
Activityreminder: Do not alarm while chargingpull/1776/head
commit
6037e0323f
|
@ -1,2 +1,3 @@
|
|||
0.01: New App!
|
||||
0.02: Fix the settings bug and some tweaking
|
||||
0.03: Do not alarm while charging
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
function run(){
|
||||
if (Bangle.isCharging()) return;
|
||||
var now = new Date();
|
||||
var h = now.getHours();
|
||||
if(h >= activityreminder.startHour && h < activityreminder.endHour){
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Activity Reminder",
|
||||
"shortName":"Activity Reminder",
|
||||
"description": "A reminder to take short walks for the ones with a sedentary lifestyle",
|
||||
"version":"0.02",
|
||||
"version":"0.03",
|
||||
"icon": "app.png",
|
||||
"type": "app",
|
||||
"tags": "tool,activity",
|
||||
|
|
Loading…
Reference in New Issue