rename WIFI in System settings to Network

This commit is contained in:
proddy
2021-06-29 22:57:21 +02:00
parent e419e67cb0
commit e2a5853dde

View File

@@ -781,7 +781,7 @@ bool System::command_settings(const char * value, const int8_t id, JsonObject &
node["version"] = EMSESP_APP_VERSION;
EMSESP::esp8266React.getNetworkSettingsService()->read([&](NetworkSettings & settings) {
node = json.createNestedObject("WIFI");
node = json.createNestedObject("Network");
// node["ssid"] = settings.ssid; // commented out - people don't like others to see this
node["hostname"] = settings.hostname;
node["static_ip_config"] = settings.staticIPConfig;