bump settings version, fix types
This commit is contained in:
parent
520e50901a
commit
50d88bbe84
4 changed files with 18 additions and 20 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#include "displayapp/screens/settings/SettingHeartRate.h"
|
||||
#include <lvgl/lvgl.h>
|
||||
#include "displayapp/DisplayApp.h"
|
||||
#include "displayapp/screens/Styles.h"
|
||||
#include "displayapp/screens/Screen.h"
|
||||
#include "displayapp/screens/Symbols.h"
|
||||
|
|
@ -18,8 +17,8 @@ namespace {
|
|||
|
||||
constexpr std::array<Option, 8> SettingHeartRate::options;
|
||||
|
||||
SettingHeartRate::SettingHeartRate(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController)
|
||||
: app {app}, settingsController {settingsController} {
|
||||
SettingHeartRate::SettingHeartRate(Pinetime::Controllers::Settings& settingsController)
|
||||
: settingsController {settingsController} {
|
||||
|
||||
lv_obj_t* container1 = lv_cont_create(lv_scr_act(), nullptr);
|
||||
|
||||
|
|
|
|||
|
|
@ -21,13 +21,12 @@ namespace Pinetime {
|
|||
|
||||
class SettingHeartRate : public Screen {
|
||||
public:
|
||||
SettingHeartRate(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settings);
|
||||
SettingHeartRate(Pinetime::Controllers::Settings& settings);
|
||||
~SettingHeartRate() override;
|
||||
|
||||
void UpdateSelected(lv_obj_t* object, lv_event_t event);
|
||||
|
||||
private:
|
||||
DisplayApp* app;
|
||||
Pinetime::Controllers::Settings& settingsController;
|
||||
|
||||
static constexpr std::array<Option, 8> options = {{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue