diff --git a/src/main.cpp b/src/main.cpp index 239454d..7ad1d0f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1168,6 +1168,12 @@ bool handleWifiPasswordTouch(int32_t x, int32_t y) { preferences.putString("password", wifiPassword); preferences.end(); + lcd.fillScreen(TFT_BLACK); + lcd.setTextColor(TFT_WHITE, TFT_BLACK); + lcd.setFont(&fonts::DejaVu24); + lcd.setTextDatum(textdatum_t::middle_center); + lcd.drawString("WiFi: Connecting...", SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2); + WiFi.mode(WIFI_STA); WiFi.begin(selectedSSID.c_str(), wifiPassword.c_str());