** Function: removeEvilWifiMenu ** Handles Menu to remove evil wifi names from config list **********************************************************************/
| 496 | ** Handles Menu to remove evil wifi names from config list |
| 497 | **********************************************************************/ |
| 498 | void removeEvilWifiMenu() { |
| 499 | options = {}; |
| 500 | |
| 501 | for (const auto &wifi_name : bruceConfig.evilWifiNames) { |
| 502 | options.push_back({wifi_name.c_str(), [wifi_name]() { bruceConfig.removeEvilWifiName(wifi_name); }}); |
| 503 | } |
| 504 | |
| 505 | options.push_back({"Cancel", [=]() { backToMenu(); }}); |
| 506 | |
| 507 | loopOptions(options); |
| 508 | } |
| 509 | |
| 510 | /********************************************************************* |
| 511 | ** Function: setEvilEndpointCreds |
nothing calls this directly
no test coverage detected