diff --git a/src/main.cpp b/src/main.cpp index f0980f0..239454d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -904,7 +904,7 @@ void drawWifiPasswordScreen() { lcd.setTextColor(TFT_WHITE, showPasswordPlain ? TFT_ORANGE : TFT_GRAY); lcd.setFont(&fonts::DejaVu12); lcd.setTextDatum(textdatum_t::middle_center); - lcd.drawString("EYE", SCREEN_WIDTH - 75, 125); + lcd.drawString("SHOW", SCREEN_WIDTH - 75, 125); drawFullKeyboard(170, keyboardSymbols); @@ -1167,6 +1167,10 @@ bool handleWifiPasswordTouch(int32_t x, int32_t y) { preferences.putString("ssid", selectedSSID); preferences.putString("password", wifiPassword); preferences.end(); + + WiFi.mode(WIFI_STA); + WiFi.begin(selectedSSID.c_str(), wifiPassword.c_str()); + currentScreen = SCREEN_DASHBOARD; needsRefresh = true; return true;