mirror of https://github.com/espruino/BangleApps
recorder: handle initial/non-settings load
parent
47d33568cc
commit
22706db541
|
@ -41,3 +41,4 @@
|
|||
0.32: Add cadence data to output files
|
||||
0.33: Ensure that a new file is always created if the stuff that's being recorded has changed (fix #3081)
|
||||
0.34: Avoid prompting when creating a new file (#3081)
|
||||
0.35: Handle loading without a settings file (default record setting)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id": "recorder",
|
||||
"name": "Recorder",
|
||||
"shortName": "Recorder",
|
||||
"version": "0.34",
|
||||
"version": "0.35",
|
||||
"description": "Record GPS position, heart rate and more in the background, then download to your PC.",
|
||||
"icon": "app.png",
|
||||
"tags": "tool,outdoors,gps,widget,clkinfo",
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
settings.period = settings.period||10;
|
||||
if (!settings.file || !settings.file.startsWith("recorder.log"))
|
||||
settings.recording = false;
|
||||
if (!settings.record)
|
||||
settings.record = ["gps"];
|
||||
return settings;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue