mirror of
https://github.com/CTCaer/hekate.git
synced 2024-12-27 03:15:21 +00:00
nyx: Disable TSEC keys status for T210B01
This commit is contained in:
parent
8d2230dc51
commit
7acad84932
@ -1867,6 +1867,8 @@ void create_tab_info(lv_theme_t *th, lv_obj_t *parent)
|
|||||||
lv_label_set_static_text(label_btn, SYMBOL_KEY" TSEC Keys");
|
lv_label_set_static_text(label_btn, SYMBOL_KEY" TSEC Keys");
|
||||||
lv_obj_align(btn2, btn, LV_ALIGN_OUT_RIGHT_TOP, LV_DPI * 4 / 9, 0);
|
lv_obj_align(btn2, btn, LV_ALIGN_OUT_RIGHT_TOP, LV_DPI * 4 / 9, 0);
|
||||||
lv_btn_set_action(btn2, LV_BTN_ACTION_CLICK, _create_window_tsec_keys_status);
|
lv_btn_set_action(btn2, LV_BTN_ACTION_CLICK, _create_window_tsec_keys_status);
|
||||||
|
if (h_cfg.t210b01)
|
||||||
|
lv_btn_set_state(btn2, LV_BTN_STATE_INA);
|
||||||
|
|
||||||
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user