wifi connect version 2

This commit is contained in:
Terrence
2025-01-12 10:25:43 +08:00
parent a868d7e5d1
commit 3655fc89d2
8 changed files with 91 additions and 37 deletions

View File

@@ -63,6 +63,8 @@ void Display::SetStatus(const std::string &status) {
}
DisplayLockGuard lock(this);
lv_label_set_text(status_label_, status.c_str());
lv_obj_clear_flag(status_label_, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(notification_label_, LV_OBJ_FLAG_HIDDEN);
}
void Display::ShowNotification(const std::string &notification, int duration_ms) {