dashboard: refresh widgets after overlay navigation
This commit is contained in:
@@ -1452,6 +1452,15 @@ static void parse_status_json(const String &body)
|
||||
update_battery_detail_widgets();
|
||||
}
|
||||
|
||||
static void refresh_dashboard_widgets()
|
||||
{
|
||||
refresh_dashboard_widgets();
|
||||
|
||||
if (current_dashboard_screen == SCREEN_BATTERY_DETAIL && battery_detail_page != nullptr) {
|
||||
update_battery_detail_widgets();
|
||||
}
|
||||
}
|
||||
|
||||
static bool fetch_status_fields(const char *url, const char *label)
|
||||
{
|
||||
if (api_request_in_progress || WiFi.status() != WL_CONNECTED) {
|
||||
|
||||
Reference in New Issue
Block a user