fix: queuing downloads

This commit is contained in:
Michel de Graaf
2025-11-19 08:27:50 +01:00
parent b7a5037edb
commit bb86e50b4f
3 changed files with 25 additions and 21 deletions
+2 -5
View File
@@ -1,7 +1,7 @@
use crate::models::{SearchEntry, SearchStatus};
use crate::ui::{
border_style, border_type, error_style, header_style, highlight_style,
success_style, warning_style, HIGHLIGHT_SYMBOL,
border_style, border_type, header_style, highlight_style, success_style,
warning_style, HIGHLIGHT_SYMBOL,
};
use ratatui::{
layout::Rect,
@@ -33,9 +33,6 @@ pub fn render_searches_pane(
SearchStatus::Completed => {
Cell::from("Done").style(success_style())
}
SearchStatus::Failed(msg) => {
Cell::from(format!("Failed: {}", msg)).style(error_style())
}
};
let results_count = search.results.len();