fixes, still 2 errors remaining
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user