fixing warnings

This commit is contained in:
filipriec
2025-03-21 14:24:43 +01:00
parent af0d71c5cf
commit 14f8785c5b
4 changed files with 3 additions and 9 deletions

View File

@@ -1,9 +1,6 @@
// src/modes/handlers/common.rs
use crate::tui::terminal::{
core::TerminalCore,
grpc_client::GrpcClient,
};
use crate::tui::terminal::grpc_client::GrpcClient;
use crate::ui::handlers::form::FormState;
use common::proto::multieko2::adresar::{PostAdresarRequest, PutAdresarRequest};

View File

@@ -66,11 +66,11 @@ impl EventHandler {
return Ok((false, message));
},
"force_quit" => {
let (should_exit, message) = command_handler.handle_command("force_quit", terminal, grpc_client).await?;
let (should_exit, message) = command_handler.handle_command("force_quit", terminal).await?;
return Ok((should_exit, message));
},
"save_and_quit" => {
let (should_exit, message) = command_handler.handle_command("save_and_quit", terminal, grpc_client).await?;
let (should_exit, message) = command_handler.handle_command("save_and_quit", terminal).await?;
return Ok((should_exit, message));
},
"revert" => {