1
0
Fork 0

infineat: Remove unnecessary background colorization

This commit is contained in:
Riku Isokoski 2023-01-21 13:07:40 +02:00
parent 1feb01b25f
commit a7a1dcbf23
2 changed files with 0 additions and 8 deletions

View file

@ -47,12 +47,6 @@ WatchFaceInfineat::WatchFaceInfineat(DisplayApp* app,
font_bebas = lv_font_load("F:/fonts/bebas.bin"); font_bebas = lv_font_load("F:/fonts/bebas.bin");
} }
// Black background covering the whole screen
background = lv_obj_create(lv_scr_act(), nullptr);
lv_obj_set_style_local_bg_color(background, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK);
lv_obj_set_size(background, 240, 240);
lv_obj_align(background, lv_scr_act(), LV_ALIGN_IN_TOP_LEFT, 0, 0);
// Side Cover // Side Cover
lineBattery = lv_line_create(lv_scr_act(), nullptr); lineBattery = lv_line_create(lv_scr_act(), nullptr);

View file

@ -60,8 +60,6 @@ namespace Pinetime {
DirtyValue<uint32_t> stepCount {}; DirtyValue<uint32_t> stepCount {};
DirtyValue<bool> notificationState {}; DirtyValue<bool> notificationState {};
lv_obj_t* background;
// Lines making up the side cover // Lines making up the side cover
lv_obj_t* lineBattery; lv_obj_t* lineBattery;