changes to differentiate runplus from run app
parent
4805b37f68
commit
1b57178786
|
|
@ -13,5 +13,4 @@
|
|||
0.12: Fix for recorder not stopping at end of run. Bug introduced in 0.11
|
||||
0.13: Revert #1578 (stop duplicate entries) as with 2v12 menus it causes other boxes to be wiped (fix #1643)
|
||||
0.14: Fix Bangle.js 1 issue where after the 'overwrite track' menu, the start/stop button stopped working
|
||||
0.15: (beta) Swipe to intensity interface a la Karvonnen (curtesy of
|
||||
FTeacher at https://github.com/f-teacher)
|
||||
0.15: Diverge from the standard "Run" app. Swipe to intensity interface a la Karvonnen (curtesy of FTeacher at https://github.com/f-teacher)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ let settings = Object.assign({
|
|||
max: 170,
|
||||
}
|
||||
},
|
||||
}, require("Storage").readJSON("run.json", 1) || {});
|
||||
}, require("Storage").readJSON("runplus.json", 1) || {});
|
||||
let statIDs = [settings.B1,settings.B2,settings.B3,settings.B4,settings.B5,settings.B6].filter(s=>s!=="");
|
||||
let exs = ExStats.getStats(statIDs, settings);
|
||||
// ---------------------------
|
||||
|
|
@ -188,7 +188,7 @@ let karvonnenInterval;
|
|||
// Define the function to go back and forth between the different UI's
|
||||
function swipeHandler(LR,_) {
|
||||
if (LR==-1 && karvonnenActive && !isMenuDisplayed) {stopKarvonnenUI(); run();}
|
||||
if (LR==1 && !karvonnenActive && !isMenuDisplayed) {stopRunUI(); karvonnenInterval = eval(require("Storage").read("run_karvonnen"))(settings.HRM, exs.stats.bpm);}
|
||||
if (LR==1 && !karvonnenActive && !isMenuDisplayed) {stopRunUI(); karvonnenInterval = eval(require("Storage").read("runplus_karvonnen"))(settings.HRM, exs.stats.bpm);}
|
||||
}
|
||||
// Listen for swipes with the swipeHandler
|
||||
Bangle.on("swipe", swipeHandler);
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
"id": "run",
|
||||
"name": "Run",
|
||||
"id": "runplus",
|
||||
"name": "Run+",
|
||||
"version": "0.15",
|
||||
"description": "Displays distance, time, steps, cadence, pace and more for runners.",
|
||||
"description": "Displays distance, time, steps, cadence, pace and more for runners. Based on the Run app, but extended with additional screen for heart rate interval training.",
|
||||
"icon": "app.png",
|
||||
"tags": "run,running,fitness,outdoors,gps",
|
||||
"tags": "run,running,fitness,outdoors,gps,karvonnen",
|
||||
"supports": [
|
||||
"BANGLEJS",
|
||||
"BANGLEJS2"
|
||||
],
|
||||
"screenshots": [
|
||||
|
|
@ -17,26 +16,26 @@
|
|||
"readme": "README.md",
|
||||
"storage": [
|
||||
{
|
||||
"name": "run.app.js",
|
||||
"name": "runplus.app.js",
|
||||
"url": "app.js"
|
||||
},
|
||||
{
|
||||
"name": "run.img",
|
||||
"name": "runplus.img",
|
||||
"url": "app-icon.js",
|
||||
"evaluate": true
|
||||
},
|
||||
{
|
||||
"name": "run.settings.js",
|
||||
"name": "runplus.settings.js",
|
||||
"url": "settings.js"
|
||||
},
|
||||
{
|
||||
"name": "run_karvonnen",
|
||||
"name": "runplus_karvonnen",
|
||||
"url": "karvonnen.js"
|
||||
}
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"name": "run.json"
|
||||
"name": "runplus.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue