Skip to content

Commit 47342ed

Browse files
authored
Force remove DNS input from Captive portal issue #1733 (#1745)
1 parent 9333ec6 commit 47342ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WiFiManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2966,7 +2966,7 @@ void WiFiManager::setShowStaticFields(boolean alwaysShow){
29662966
*/
29672967
void WiFiManager::setShowDnsFields(boolean alwaysShow){
29682968
if(_disableIpFields) _staShowDns = alwaysShow ? 1 : -1;
2969-
_staShowDns = alwaysShow ? 1 : 0;
2969+
else _staShowDns = alwaysShow ? 1 : 0;
29702970
}
29712971

29722972
/**

0 commit comments

Comments
 (0)