dashboard: replace top wifi indicator with api status led
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
static const char *DASHBOARD_VERSION = "0.1.75-hidden-diagnostics";
|
static const char *DASHBOARD_VERSION = "0.1.76-api-led-left";
|
||||||
|
|
||||||
// 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";
|
||||||
|
|||||||
@@ -1618,7 +1618,7 @@ static void create_overland_overview_screen()
|
|||||||
lv_obj_set_style_radius(cargo_status_dot, LV_RADIUS_CIRCLE, 0);
|
lv_obj_set_style_radius(cargo_status_dot, LV_RADIUS_CIRCLE, 0);
|
||||||
lv_obj_set_style_bg_color(cargo_status_dot, lv_color_hex(0xF97066), 0);
|
lv_obj_set_style_bg_color(cargo_status_dot, lv_color_hex(0xF97066), 0);
|
||||||
lv_obj_set_style_border_width(cargo_status_dot, 0, 0);
|
lv_obj_set_style_border_width(cargo_status_dot, 0, 0);
|
||||||
lv_obj_align(cargo_status_dot, LV_ALIGN_LEFT_MID, 98, 0);
|
lv_obj_align(cargo_status_dot, LV_ALIGN_LEFT_MID, 24, 0);
|
||||||
|
|
||||||
system_status_label = lv_label_create(system_card);
|
system_status_label = lv_label_create(system_card);
|
||||||
lv_label_set_text(system_status_label, "");
|
lv_label_set_text(system_status_label, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user