Added some better theming to the UI, enabled clippy to warn on 2018 idioms, and added human_panic hook to report bugs

This commit is contained in:
2023-08-08 10:50:05 -06:00
parent 652dc0f2c4
commit f92042fb21
6 changed files with 141 additions and 57 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ fn draw_movie_details<B: Backend>(f: &mut Frame<'_, B>, app: &App, content_area:
spans_info_default(title, split[1..].join(":"))
})
.collect::<Vec<Spans>>(),
.collect::<Vec<Spans<'_>>>(),
);
text.patch_style(determine_style_from_download_status(download_status));
@@ -508,7 +508,7 @@ fn draw_manual_search_confirm_prompt<B: Backend>(
.unwrap_or_default()
.iter()
.map(|item| Spans::from(vec![Span::styled(format!("{}", item), style_primary())]))
.collect::<Vec<Spans>>();
.collect::<Vec<Spans<'_>>>();
spans_vec.append(&mut rejections_spans);
let content_paragraph = Paragraph::new(spans_vec)