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,
state: &mut S,
ideal_cursor_column: &mut usize,
_grpc_client: &mut GrpcClient,
_is_saved: &mut bool,
_current_position: &mut u64,
_total_count: u64,
grpc_client: &mut GrpcClient,
is_saved: &mut bool,
current_position: &mut u64,
total_count: u64,
) -> Result<String, Box<dyn std::error::Error>> {
match action {
"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).
pub async fn revert(
auth_state: &mut AuthState,
_app_state: &mut AppState, // Prefix unused variable
app_state: &mut AppState,
) -> String {
// Clear the input fields
auth_state.username.clear();