dashboard: stop rebuilding overview when leaving battery page
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#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.
|
||||
//static const char *CARGO_WIFI_SSID = "OverlandController";
|
||||
|
||||
@@ -759,7 +759,7 @@ static void show_dashboard_screen(DashboardScreen screen)
|
||||
if (screen == SCREEN_BATTERY_DETAIL) {
|
||||
create_battery_detail_screen();
|
||||
} else {
|
||||
create_overland_overview_screen();
|
||||
close_battery_detail_screen();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user