Added additional fallback background
This commit is contained in:
@@ -1453,7 +1453,7 @@ void create_tab_options(lv_theme_t *th, lv_obj_t *parent)
|
||||
|
||||
// Create Auto Boot button.
|
||||
lv_obj_t *btn = lv_btn_create(sw_h2, NULL);
|
||||
if (hekate_bg)
|
||||
if (hekate_bg || hekate_bg_etc)
|
||||
{
|
||||
lv_btn_set_style(btn, LV_BTN_STYLE_REL, &btn_transp_rel);
|
||||
lv_btn_set_style(btn, LV_BTN_STYLE_PR, &btn_transp_pr);
|
||||
@@ -1504,7 +1504,7 @@ void create_tab_options(lv_theme_t *th, lv_obj_t *parent)
|
||||
lv_ddlist_set_action(ddlist, _autoboot_delay_action);
|
||||
lv_ddlist_set_selected(ddlist, h_cfg.bootwait);
|
||||
|
||||
if (hekate_bg)
|
||||
if (hekate_bg || hekate_bg_etc)
|
||||
{
|
||||
lv_ddlist_set_style(ddlist, LV_DDLIST_STYLE_BG, &ddlist_transp_bg);
|
||||
lv_ddlist_set_style(ddlist, LV_DDLIST_STYLE_BGO, &ddlist_transp_bg);
|
||||
|
||||
Reference in New Issue
Block a user