InfiniTime.git

commit a7a1dcbf23382147c62b06a9d27b7813c01eccd2

Author: Riku Isokoski <riksu9000@gmail.com>

infineat: Remove unnecessary background colorization

 src/displayapp/screens/WatchFaceInfineat.cpp | 6 ------
 src/displayapp/screens/WatchFaceInfineat.h | 2 --


diff --git a/src/displayapp/screens/WatchFaceInfineat.cpp b/src/displayapp/screens/WatchFaceInfineat.cpp
index 8f654857608f0e7b2426fdbef95eca79b7c0af05..7266b3285e001190e5778dde3fec457f186c5cf6 100644
--- a/src/displayapp/screens/WatchFaceInfineat.cpp
+++ b/src/displayapp/screens/WatchFaceInfineat.cpp
@@ -47,12 +47,6 @@     filesystem.FileClose(&f);
     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
   lineBattery = lv_line_create(lv_scr_act(), nullptr);
 




diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h
index a24a4e9e38af662d8a890930679e30e3210f4aa5..bf2d3cc41e11b99ebf656b09c8caae0cdd2067bc 100644
--- a/src/displayapp/screens/WatchFaceInfineat.h
+++ b/src/displayapp/screens/WatchFaceInfineat.h
@@ -60,8 +60,6 @@         DirtyValue motionSensorOk {};
         DirtyValue<uint32_t> stepCount {};
         DirtyValue<bool> notificationState {};
 
-        lv_obj_t* background;
-
         // Lines making up the side cover
         lv_obj_t* lineBattery;