From d1d4b4a1ab63e9db9c8fc03e1c95fe732c37a0c2 Mon Sep 17 00:00:00 2001 From: ailurux Date: Sat, 8 Jul 2023 16:40:49 +1000 Subject: Add theme class --- src/ui/screen_menu.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui/screen_menu.cpp') diff --git a/src/ui/screen_menu.cpp b/src/ui/screen_menu.cpp index 91e79dd5..743dc6fa 100644 --- a/src/ui/screen_menu.cpp +++ b/src/ui/screen_menu.cpp @@ -43,7 +43,6 @@ Menu::Menu(std::vector indexes) : indexes_(indexes) { for (database::IndexInfo& index : indexes_) { lv_obj_t* item = lv_list_add_btn(list, NULL, index.name.c_str()); - lv_obj_set_style_bg_color(item, lv_palette_main(LV_PALETTE_BLUE), LV_PART_MAIN | LV_STATE_FOCUSED); lv_obj_add_event_cb(item, item_click_cb, LV_EVENT_CLICKED, &index); lv_group_add_obj(group_, item); } -- cgit v1.2.3