changing components infrastructure

This commit is contained in:
filipriec
2025-03-22 15:36:49 +01:00
parent 9bf1d065d5
commit fabe1e0ca7
9 changed files with 17 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ impl EventHandler {
app_state: &mut crate::state::state::AppState,
total_count: u64,
current_position: &mut u64,
intro_state: &mut crate::components::handlers::intro::IntroState,
intro_state: &mut crate::components::intro::intro::IntroState,
) -> Result<(bool, String), Box<dyn std::error::Error>> {
if app_state.ui.show_intro {
if let Event::Key(key) = event {