dashboard: stop rebuilding overview when leaving battery page

This commit is contained in:
2026-06-19 00:04:45 -06:00
parent 182e5a852d
commit 56197279ee
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
#pragma once #pragma once
static const char *DASHBOARD_VERSION = "0.1.103-real-overlay-return-path"; static const char *DASHBOARD_VERSION = "0.1.104-no-overview-rebuild-on-back";
// 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";
@@ -759,7 +759,7 @@ static void show_dashboard_screen(DashboardScreen screen)
if (screen == SCREEN_BATTERY_DETAIL) { if (screen == SCREEN_BATTERY_DETAIL) {
create_battery_detail_screen(); create_battery_detail_screen();
} else { } else {
create_overland_overview_screen(); close_battery_detail_screen();
} }
} }