dashboard: fix refresh helper after overlay navigation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
static const char *DASHBOARD_VERSION = "0.1.94-refresh-after-overlay";
|
static const char *DASHBOARD_VERSION = "0.1.95-refresh-recursion-fix";
|
||||||
|
|
||||||
// Update these if your Cargo ESP AP credentials are different.
|
// Update these if your Cargo ESP AP credentials are different.
|
||||||
//static const char *CARGO_WIFI_SSID = "OverlandController";
|
//static const char *CARGO_WIFI_SSID = "OverlandController";
|
||||||
|
|||||||
@@ -1454,9 +1454,11 @@ static void parse_status_json(const String &body)
|
|||||||
|
|
||||||
static void refresh_dashboard_widgets()
|
static void refresh_dashboard_widgets()
|
||||||
{
|
{
|
||||||
refresh_dashboard_widgets();
|
update_overview_widgets();
|
||||||
|
update_status_icons();
|
||||||
|
update_relay_buttons();
|
||||||
|
|
||||||
if (current_dashboard_screen == SCREEN_BATTERY_DETAIL && battery_detail_page != nullptr) {
|
if (battery_detail_page != nullptr) {
|
||||||
update_battery_detail_widgets();
|
update_battery_detail_widgets();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user