diff --git a/src/displayapp/screens/Tile.cpp b/src/displayapp/screens/Tile.cpp index d98f2de4e1..d2f5b80b54 100644 --- a/src/displayapp/screens/Tile.cpp +++ b/src/displayapp/screens/Tile.cpp @@ -32,7 +32,10 @@ Tile::Tile(uint8_t screenID, Controllers::DateTime& dateTimeController, std::array& applications, Controllers::Timer& timer) - : app {app}, dateTimeController {dateTimeController}, pageIndicator(screenID, numScreens), statusIcons(batteryController, bleController, timer) { + : app {app}, + dateTimeController {dateTimeController}, + pageIndicator(screenID, numScreens), + statusIcons(batteryController, bleController, timer) { settingsController.SetAppMenu(screenID); diff --git a/src/displayapp/widgets/StatusIcons.cpp b/src/displayapp/widgets/StatusIcons.cpp index 18b3fa5950..1f1f4c7bb8 100644 --- a/src/displayapp/widgets/StatusIcons.cpp +++ b/src/displayapp/widgets/StatusIcons.cpp @@ -3,7 +3,9 @@ using namespace Pinetime::Applications::Widgets; -StatusIcons::StatusIcons(const Controllers::Battery& batteryController, const Controllers::Ble& bleController, const Controllers::Timer& timer) +StatusIcons::StatusIcons(const Controllers::Battery& batteryController, + const Controllers::Ble& bleController, + const Controllers::Timer& timer) : batteryIcon(true), batteryController {batteryController}, bleController {bleController}, timer {timer} { } @@ -18,7 +20,6 @@ void StatusIcons::Create() { lv_label_set_text(timeRemaining, "00:00"); lv_obj_align(timeRemaining, nullptr, LV_ALIGN_IN_TOP_MID, 10, 0); - container = lv_cont_create(lv_scr_act(), nullptr); lv_cont_set_layout(container, LV_LAYOUT_ROW_TOP); lv_cont_set_fit(container, LV_FIT_TIGHT);