This commit is contained in:
@@ -260,7 +260,7 @@ static void ui_clean_screen(void)
|
||||
lv_obj_set_style_bg_opa(lv_scr_act(), LV_OPA_COVER, 0);
|
||||
}
|
||||
|
||||
/* ponytail: single shared header builder across all screens */
|
||||
/* single shared header builder across all screens */
|
||||
static void ui_draw_header(const char *title, const char *subtitle)
|
||||
{
|
||||
lv_obj_t *bar = lv_obj_create(lv_scr_act());
|
||||
@@ -292,7 +292,7 @@ static void view_menu(void)
|
||||
encoder_set_steps_per_detent(4);
|
||||
lvgl_port_lock(0);
|
||||
ui_clean_screen();
|
||||
ui_draw_header("MTG COMPANION");
|
||||
ui_draw_header("MTG COMPANION","");
|
||||
|
||||
/* 8 Menu Items */
|
||||
int start_y = 44;
|
||||
|
||||
Reference in New Issue
Block a user