Merge pull request #561 from alranel/patch-1

Allow long WiFi passwords in the GUI
This commit is contained in:
fvanroie 2023-10-27 13:24:46 +02:00 committed by GitHub
commit 9428da59e9
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_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_one_line(pwd_ta, true);
lv_textarea_set_cursor_hidden(pwd_ta, true);