[fix] fix connection error when reinput password

This commit is contained in:
dijunkun
2025-04-09 17:17:30 +08:00
parent cf078be53f
commit f48085c69a
2 changed files with 11 additions and 11 deletions

View File

@@ -371,6 +371,7 @@ void Render::OnConnectionStatusCb(ConnectionStatus status, const char *user_id,
render->password_validating_ = false;
render->password_validating_time_++;
if (render->connect_button_pressed_) {
render->connect_button_pressed_ = false;
props->connection_established_ = false;
render->connect_button_label_ =
render->connect_button_pressed_