1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-26 19:52:11 +00:00

nyx: Rename Nyx Options to Nyx Settings

In order to not be confused with the hekate general Options.
This commit is contained in:
CTCaer 2022-10-11 06:27:50 +03:00
parent f5fb0a1ee9
commit 6337b06212
2 changed files with 2 additions and 2 deletions

View file

@ -1958,7 +1958,7 @@ static void _create_tab_home(lv_theme_t *th, lv_obj_t *parent)
// lv_btn_set_action(btn_quick_launch, LV_BTN_ACTION_CLICK, NULL); // lv_btn_set_action(btn_quick_launch, LV_BTN_ACTION_CLICK, NULL);
lv_obj_t *btn_nyx_options = lv_btn_create(parent, NULL); lv_obj_t *btn_nyx_options = lv_btn_create(parent, NULL);
_create_text_button(th, NULL, btn_nyx_options, SYMBOL_SETTINGS" Nyx Options", NULL); _create_text_button(th, NULL, btn_nyx_options, SYMBOL_SETTINGS" Nyx Settings", NULL);
//lv_obj_set_width(btn_nyx_options, 256); //lv_obj_set_width(btn_nyx_options, 256);
lv_btn_set_action(btn_nyx_options, LV_BTN_ACTION_CLICK, create_win_nyx_options); lv_btn_set_action(btn_nyx_options, LV_BTN_ACTION_CLICK, create_win_nyx_options);
lv_obj_align(btn_nyx_options, NULL, LV_ALIGN_IN_BOTTOM_LEFT, LV_DPI / 4, -LV_DPI / 12); lv_obj_align(btn_nyx_options, NULL, LV_ALIGN_IN_BOTTOM_LEFT, LV_DPI / 4, -LV_DPI / 12);

View file

@ -995,7 +995,7 @@ lv_res_t create_win_nyx_options(lv_obj_t *parrent_btn)
{ {
lv_theme_t *th = lv_theme_get_current(); lv_theme_t *th = lv_theme_get_current();
lv_obj_t *win = nyx_create_window_custom_close_btn(SYMBOL_HOME" Nyx Options", _action_win_nyx_options_close); lv_obj_t *win = nyx_create_window_custom_close_btn(SYMBOL_HOME" Nyx Settings", _action_win_nyx_options_close);
static lv_style_t h_style; static lv_style_t h_style;
lv_style_copy(&h_style, &lv_style_transp); lv_style_copy(&h_style, &lv_style_transp);