From 30ec2294390137aac857314b7b2fcff1642ecfab Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 15 Jun 2026 22:58:06 -0600 Subject: [PATCH] dashboard: attach page swipe handler to overview --- firmware/esp32-s3-dashboard/dashboard_config.h | 2 +- firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 557403c..154fcf5 100644 --- a/firmware/esp32-s3-dashboard/dashboard_config.h +++ b/firmware/esp32-s3-dashboard/dashboard_config.h @@ -1,6 +1,6 @@ #pragma once -static const char *DASHBOARD_VERSION = "0.1.79-battery-detail-font-fix"; +static const char *DASHBOARD_VERSION = "0.1.80-page-switch-fix"; // Update these if your Cargo ESP AP credentials are different. static const char *CARGO_WIFI_SSID = "OverlandController"; diff --git a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino index f4818da..1046015 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -654,7 +654,7 @@ static void create_battery_detail_screen() make_detail_label(system_card, &title_label, "BATTERY DETAIL", &lv_font_montserrat_26, lv_color_hex(0xDDE3EA), 360, LV_ALIGN_LEFT_MID, 22, 0); lv_obj_t *page_dots = lv_label_create(system_card); - lv_label_set_text(page_dots, "● ○"); + lv_label_set_text(page_dots, "BATT >"); lv_obj_set_style_text_color(page_dots, lv_color_hex(0xB8C0C8), 0); lv_obj_set_width(page_dots, 120); lv_obj_set_style_text_align(page_dots, LV_TEXT_ALIGN_RIGHT, 0); @@ -1762,7 +1762,7 @@ cargo_status_dot = lv_obj_create(system_card); lv_obj_align(outside_status_temp_label, LV_ALIGN_CENTER, 0, 0); lv_obj_t *page_dots = lv_label_create(system_card); - lv_label_set_text(page_dots, "○ ●"); + lv_label_set_text(page_dots, "< MAIN"); lv_obj_set_style_text_color(page_dots, lv_color_hex(0xB8C0C8), 0); lv_obj_set_width(page_dots, 120); lv_obj_set_style_text_align(page_dots, LV_TEXT_ALIGN_RIGHT, 0);