Skip to content

Commit

Permalink
Remove text before checkbox Post to AirGradient
Browse files Browse the repository at this point in the history
  • Loading branch information
pnt325 committed Apr 10, 2024
1 parent c28a937 commit bd11979
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/AgWiFiConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ bool WifiConnector::connect(void) {
#endif
WIFI()->setConfigPortalTimeout(WIFI_CONNECT_COUNTDOWN_MAX);

WiFiManagerParameter lineBreak("<p>Check to enabled post data to AirGradient cloud</p>");
WIFI()->addParameter(&lineBreak);
WiFiManagerParameter postToAg("chbPostToAg", "Post To AirGradient", "T", 2, "type=\"checkbox\" ", WFM_LABEL_AFTER);
WIFI()->addParameter(&postToAg);

WIFI()->autoConnect(ssid.c_str(), WIFI_HOTSPOT_PASSWORD_DEFAULT);

#ifdef ESP32
Expand Down

0 comments on commit bd11979

Please sign in to comment.