Allow long WiFi passwords in the GUI

This commit is contained in:
Alessandro Ranellucci 2023-10-27 10:48:06 +02:00 committed by GitHub
parent 1b24478692
commit cfaf1496dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,7 +213,7 @@ static void oobeSetupSsid(void)
lv_obj_set_style_local_text_font(pwd_ta, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, defaultfont); lv_obj_set_style_local_text_font(pwd_ta, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, defaultfont);
lv_textarea_set_text(pwd_ta, ""); lv_textarea_set_text(pwd_ta, "");
lv_textarea_set_max_length(pwd_ta, 32); lv_textarea_set_max_length(pwd_ta, MAX_PASSWORD_LENGTH);
lv_textarea_set_pwd_mode(pwd_ta, true); lv_textarea_set_pwd_mode(pwd_ta, true);
lv_textarea_set_one_line(pwd_ta, true); lv_textarea_set_one_line(pwd_ta, true);
lv_textarea_set_cursor_hidden(pwd_ta, true); lv_textarea_set_cursor_hidden(pwd_ta, true);