New Steps app

Settings to set the steps goal
More detail in Motion app
New 42px Font
This commit is contained in:
Joaquim
2021-04-19 15:28:38 +01:00
parent bbc24e88b0
commit cd4a3e1dfe
15 changed files with 542 additions and 18 deletions

View File

@@ -60,6 +60,12 @@ namespace Pinetime {
};
Controllers::BrightnessController::Levels GetBrightness() const { 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:
Pinetime::Drivers::SpiNorFlash& spiNorFlash;