Force remove DNS input from Captive portal issue #1733 (#1745)

This commit is contained in:
Jack
2024-12-10 21:02:41 -06:00
committed by GitHub
parent 9333ec68ed
commit 47342ed6f7
+1 -1
View File
@@ -2966,7 +2966,7 @@ void WiFiManager::setShowStaticFields(boolean alwaysShow){
*/
void WiFiManager::setShowDnsFields(boolean alwaysShow){
if(_disableIpFields) _staShowDns = alwaysShow ? 1 : -1;
_staShowDns = alwaysShow ? 1 : 0;
else _staShowDns = alwaysShow ? 1 : 0;
}
/**