minor changes
This commit is contained in:
@@ -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" => {
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user