fixes, still 2 errors remaining

This commit is contained in:
filipriec
2025-03-31 20:10:53 +02:00
parent 306f4de14f
commit bee95c3755
2 changed files with 7 additions and 6 deletions

View File

@@ -210,8 +210,8 @@ impl EventHandler {
}
// Let edit mode handle its own actions (including navigation from common bindings)
if app_state.ui.show_login {
let result = edit::handle_edit_event_internal(
let result = if app_state.ui.show_login {
edit::handle_edit_event_internal(
key,
config,
&mut self.auth_state, // Use auth_state instead of form_state
@@ -221,9 +221,9 @@ impl EventHandler {
current_position,
total_count,
grpc_client,
).await?;
).await?
} else {
let result = edit::handle_edit_event_internal(
edit::handle_edit_event_internal(
key,
config,
form_state,
@@ -233,8 +233,8 @@ impl EventHandler {
current_position,
total_count,
grpc_client,
).await?;
}
).await?
};
self.key_sequence_tracker.reset();
return Ok((false, result));