read only mode needs adjustement to 4 fields from 2

This commit is contained in:
filipriec
2025-04-10 23:04:25 +02:00
parent 337d6050ff
commit 14f9b254b2
4 changed files with 17 additions and 17 deletions

View File

@@ -243,7 +243,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
form_state.current_cursor_pos =
event_handler.ideal_cursor_column.min(max_cursor_pos);
}
} else if app_state.ui.show_login {
} else if app_state.ui.show_login || app_state.ui.show_register {
// Handle cursor updates for AuthState if needed, similar to FormState
if !event_handler.is_edit_mode {
let current_input = auth_state.get_current_input();