minor changes

This commit is contained in:
filipriec
2025-04-07 17:36:59 +02:00
parent 0e1fc3f5fa
commit bb103fac6c
2 changed files with 5 additions and 5 deletions

View File

@@ -61,10 +61,10 @@ pub async fn execute_edit_action<S: CanvasState>(
key: KeyEvent, key: KeyEvent,
state: &mut S, state: &mut S,
ideal_cursor_column: &mut usize, ideal_cursor_column: &mut usize,
_grpc_client: &mut GrpcClient, grpc_client: &mut GrpcClient,
_is_saved: &mut bool, is_saved: &mut bool,
_current_position: &mut u64, current_position: &mut u64,
_total_count: u64, total_count: u64,
) -> Result<String, Box<dyn std::error::Error>> { ) -> Result<String, Box<dyn std::error::Error>> {
match action { match action {
"insert_char" => { "insert_char" => {

View File

@@ -80,7 +80,7 @@ pub async fn save(
/// Reverts the login form fields to empty and returns to the previous screen (Intro). /// Reverts the login form fields to empty and returns to the previous screen (Intro).
pub async fn revert( pub async fn revert(
auth_state: &mut AuthState, auth_state: &mut AuthState,
_app_state: &mut AppState, // Prefix unused variable app_state: &mut AppState,
) -> String { ) -> String {
// Clear the input fields // Clear the input fields
auth_state.username.clear(); auth_state.username.clear();