diff options
Diffstat (limited to 'src/components/settings')
| -rw-r--r-- | src/components/settings/Settings.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index 2d26664..8a32efa 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -147,22 +147,10 @@ namespace Pinetime { return settings.brightLevel; }; - void SetStepsGoal(uint32_t goal) { - if (goal != settings.stepsGoal) { - settingsChanged = true; - } - settings.stepsGoal = goal; - }; - - uint32_t GetStepsGoal() const { - return settings.stepsGoal; - }; - private: - static constexpr uint32_t settingsVersion = 0x4001; // infinitime redux settings + static constexpr uint32_t settingsVersion = 0x4011; // infinitime redux settings struct SettingsData { uint32_t version = settingsVersion; - uint32_t stepsGoal = 10000; uint32_t screenTimeOut = 15000; ClockType clockType = ClockType::H24; |
