pebbled 0.06: Fix Settings page to ensure that the currently set distance is displayed (not 0.75)

pull/3171/head
Gordon Williams 2024-01-25 12:23:45 +00:00
parent 23a294d1df
commit 19ee5bb8ae
3 changed files with 3 additions and 2 deletions

View File

@ -4,3 +4,4 @@
Support for fast loading Support for fast loading
0.04: Localisation request: added Miles and AM/PM 0.04: Localisation request: added Miles and AM/PM
0.05: Prevent exceptions from halting the draw cycle 0.05: Prevent exceptions from halting the draw cycle
0.06: Fix Settings page to ensure that the currently set distance is displayed (not 0.75)

View File

@ -2,7 +2,7 @@
"id": "pebbled", "id": "pebbled",
"name": "Pebble Clock with distance", "name": "Pebble Clock with distance",
"shortName": "Pebble + distance", "shortName": "Pebble + distance",
"version": "0.05", "version": "0.06",
"description": "Fork of Pebble Clock with distance in KM. Both step count and the distance are on the main screen. Default step length = 0.75m (can be changed in settings).", "description": "Fork of Pebble Clock with distance in KM. Both step count and the distance are on the main screen. Default step length = 0.75m (can be changed in settings).",
"readme": "README.md", "readme": "README.md",
"icon": "pebbled.png", "icon": "pebbled.png",

View File

@ -36,7 +36,7 @@
}, },
}, },
'Step length': { 'Step length': {
value: 0.75 || s.avStep, value: s.avStep || 0.75,
min: 0.2, min: 0.2,
max: 1.5, max: 1.5,
step: 0.01, step: 0.01,