working needs a small fix
This commit is contained in:
@@ -6,11 +6,12 @@ use crate::services::grpc_client::GrpcClient;
|
||||
use crate::state::canvas_state::CanvasState;
|
||||
use crate::state::pages::auth::AuthState;
|
||||
use crate::state::pages::form::FormState;
|
||||
use crate::state::state::AppState;
|
||||
use crate::functions::modes::read_only::{auth_ro, form_ro};
|
||||
use crossterm::event::KeyEvent;
|
||||
|
||||
pub async fn handle_read_only_event(
|
||||
app_state: &crate::state::state::AppState,
|
||||
app_state: &mut AppState,
|
||||
key: KeyEvent,
|
||||
config: &Config,
|
||||
form_state: &mut FormState,
|
||||
@@ -90,6 +91,7 @@ pub async fn handle_read_only_event(
|
||||
} else if app_state.ui.show_login {
|
||||
auth_ro::execute_action(
|
||||
action,
|
||||
app_state,
|
||||
auth_state,
|
||||
ideal_cursor_column,
|
||||
key_sequence_tracker,
|
||||
@@ -136,6 +138,7 @@ pub async fn handle_read_only_event(
|
||||
} else if app_state.ui.show_login {
|
||||
auth_ro::execute_action(
|
||||
action,
|
||||
app_state,
|
||||
auth_state,
|
||||
ideal_cursor_column,
|
||||
key_sequence_tracker,
|
||||
@@ -181,6 +184,7 @@ pub async fn handle_read_only_event(
|
||||
} else if app_state.ui.show_login {
|
||||
auth_ro::execute_action(
|
||||
action,
|
||||
app_state,
|
||||
auth_state,
|
||||
ideal_cursor_column,
|
||||
key_sequence_tracker,
|
||||
|
||||
Reference in New Issue
Block a user