0.09: Fix broken start/stop if recording not enabled (fix #1561)

master
Gordon Williams 2022-03-14 09:29:35 +00:00
parent 2f2f6f0b0d
commit fe0e19148e
3 changed files with 6 additions and 2 deletions

View File

@ -7,3 +7,4 @@
0.06: Add option to record a run using the recorder app automatically 0.06: Add option to record a run using the recorder app automatically
0.07: Fix crash if an odd number of active boxes are configured (fix #1473) 0.07: Fix crash if an odd number of active boxes are configured (fix #1473)
0.08: Added support for notifications from exstats. Support all stats from exstats 0.08: Added support for notifications from exstats. Support all stats from exstats
0.09: Fix broken start/stop if recording not enabled (fix #1561)

View File

@ -66,6 +66,9 @@ function onStartStop() {
} }
} }
if (!prepPromises.length) // fix for Promise.all bug in 2v12
prepPromises.push(Promise.resolve());
Promise.all(prepPromises) Promise.all(prepPromises)
.then(() => { .then(() => {
if (running) { if (running) {

View File

@ -1,6 +1,6 @@
{ "id": "run", { "id": "run",
"name": "Run", "name": "Run",
"version":"0.08", "version":"0.09",
"description": "Displays distance, time, steps, cadence, pace and more for runners.", "description": "Displays distance, time, steps, cadence, pace and more for runners.",
"icon": "app.png", "icon": "app.png",
"tags": "run,running,fitness,outdoors,gps", "tags": "run,running,fitness,outdoors,gps",