From 19ee5bb8aebb1a0b7bd872f8d4ef9c5402df7217 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Thu, 25 Jan 2024 12:23:45 +0000 Subject: [PATCH] pebbled 0.06: Fix Settings page to ensure that the currently set distance is displayed (not 0.75) --- apps/pebbled/ChangeLog | 1 + apps/pebbled/metadata.json | 2 +- apps/pebbled/pebbled.settings.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/pebbled/ChangeLog b/apps/pebbled/ChangeLog index 9f5734152..fcc8b3254 100644 --- a/apps/pebbled/ChangeLog +++ b/apps/pebbled/ChangeLog @@ -4,3 +4,4 @@ Support for fast loading 0.04: Localisation request: added Miles and AM/PM 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) diff --git a/apps/pebbled/metadata.json b/apps/pebbled/metadata.json index 483f6e0d3..50555a173 100644 --- a/apps/pebbled/metadata.json +++ b/apps/pebbled/metadata.json @@ -2,7 +2,7 @@ "id": "pebbled", "name": "Pebble Clock with 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).", "readme": "README.md", "icon": "pebbled.png", diff --git a/apps/pebbled/pebbled.settings.js b/apps/pebbled/pebbled.settings.js index f4ca1d394..d54517a70 100644 --- a/apps/pebbled/pebbled.settings.js +++ b/apps/pebbled/pebbled.settings.js @@ -36,7 +36,7 @@ }, }, 'Step length': { - value: 0.75 || s.avStep, + value: s.avStep || 0.75, min: 0.2, max: 1.5, step: 0.01,