summaryrefslogtreecommitdiff
path: root/src/ui/lvgl_task.cpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2023-08-28 14:59:29 +1000
committerailurux <ailuruxx@gmail.com>2023-08-28 14:59:29 +1000
commit6f4ace1dd4b9b34f95af1ba365b68624e209d147 (patch)
tree0a880056b63d391dee467c2a6e3d1064b3a75a77 /src/ui/lvgl_task.cpp
parent0f5cf25e73fb2e789b472317966ff80323dddd75 (diff)
downloadtangara-fw-6f4ace1dd4b9b34f95af1ba365b68624e209d147.tar.gz
Custom themes and top bar styling
Diffstat (limited to 'src/ui/lvgl_task.cpp')
-rw-r--r--src/ui/lvgl_task.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/lvgl_task.cpp b/src/ui/lvgl_task.cpp
index a9af0900..9952d0bb 100644
--- a/src/ui/lvgl_task.cpp
+++ b/src/ui/lvgl_task.cpp
@@ -70,8 +70,7 @@ void LvglMain(std::weak_ptr<drivers::RelativeWheel> weak_touch_wheel,
lv_theme_t* base_theme = lv_theme_basic_init(NULL);
lv_disp_set_theme(NULL, base_theme);
- static themes::Theme sTheme{};
- sTheme.Apply();
+ themes::Theme::instance()->Apply();
TouchWheelEncoder encoder(weak_touch_wheel);