switched stuff in the state.rs

This commit is contained in:
filipriec
2025-03-21 22:46:50 +01:00
parent 44c5963c71
commit 1b0aaa55c9
5 changed files with 121 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
// src/modes/handlers/event.rs
//
use crossterm::event::Event;
use crossterm::cursor::SetCursorStyle;
@@ -74,7 +74,7 @@ impl EventHandler {
let message = common::save(
form_state,
grpc_client,
&mut app_state.is_saved,
&mut app_state.ui.is_saved,
current_position,
total_count,
).await?;
@@ -109,7 +109,7 @@ impl EventHandler {
&mut self.command_input,
&mut self.command_message,
grpc_client,
&mut app_state.is_saved,
&mut app_state.ui.is_saved,
current_position,
total_count,
).await?;
@@ -146,7 +146,7 @@ impl EventHandler {
form_state,
&mut self.ideal_cursor_column,
&mut self.command_message,
&mut app_state.is_saved,
&mut app_state.ui.is_saved,
current_position,
total_count,
grpc_client,