This would be really useful to make menus more clear.
class WiFiStaConnectedCondition : public espgui::ConditionInterface {
bool visible() override {
return wifi_stack::get_sta_status() == wifi_stack::WiFiStaStatus::CONNECTED;
}
}
With this, some MenuItems like OTA-Related-Menus for example could be hidden if the functions are not available. This could really enhance user experience.
This would be really useful to make menus more clear.
With this, some MenuItems like OTA-Related-Menus for example could be hidden if the functions are not available. This could really enhance user experience.