fix presavecallback called twice if params in wifi

This commit is contained in:
tablatronix
2021-06-21 09:49:39 -05:00
parent 69c60e8e4e
commit 3bf0d4bed3
+1 -1
View File
@@ -1667,7 +1667,7 @@ void WiFiManager::handleWifiSave() {
handleRequest();
// @todo use new callback for before paramsaves
if ( _presavecallback != NULL) {
if (!_paramsInWifi && _presavecallback != NULL) {
_presavecallback();
}