Skip to content

Commit 2974b37

Browse files
committed
Digital Watchface click on weather and steps
1 parent ded49c0 commit 2974b37

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎src/displayapp/screens/Steps.cpp‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ static void lap_event_handler(lv_obj_t* obj, lv_event_t event) {
1717
}
1818

1919
Steps::Steps(DisplayApp* app, Controllers::MotionController& motionController, Controllers::Settings& settingsController)
20-
: app {app},
21-
motionController {motionController},
22-
settingsController {settingsController} {
20+
: app {app}, motionController {motionController}, settingsController {settingsController} {
2321

2422
stepsArc = lv_arc_create(lv_scr_act(), nullptr);
2523

‎src/displayapp/screens/Weather.cpp‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ namespace {
2525
}
2626

2727
Weather::Weather(DisplayApp* app, Controllers::Settings& settingsController, Controllers::SimpleWeatherService& weatherService)
28-
: app {app},
29-
settingsController {settingsController},
30-
weatherService {weatherService} {
28+
: app {app}, settingsController {settingsController}, weatherService {weatherService} {
3129

3230
temperature = lv_label_create(lv_scr_act(), nullptr);
3331
lv_obj_set_style_local_text_color(temperature, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_WHITE);

0 commit comments

Comments
 (0)