forked from xiaozhi/xiaozhi-esp32
wifi connect version 2
This commit is contained in:
@@ -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 ¬ification, int duration_ms) {
|
||||
|
||||
Reference in New Issue
Block a user