feat(app): Dispatch support for all relevant Sonarr blocks

This commit is contained in:
2024-11-27 17:06:20 -07:00
parent 73a4129000
commit f139db07d9
86 changed files with 4075 additions and 3005 deletions
+1 -4
View File
@@ -177,7 +177,6 @@ async fn start_ui(app: &Arc<Mutex<App<'_>>>) -> Result<()> {
terminal.hide_cursor()?;
let input_events = Events::new();
let mut is_first_render = true;
loop {
let mut app = app.lock().await;
@@ -193,10 +192,8 @@ async fn start_ui(app: &Arc<Mutex<App<'_>>>) -> Result<()> {
handlers::handle_events(key, &mut app);
}
InputEvent::Tick => app.on_tick(is_first_render).await,
InputEvent::Tick => app.on_tick().await,
}
is_first_render = false;
}
terminal.show_cursor()?;