Refactored unnecessary data fields into Options to make the code cleaner, and to reduce the memory usage of the application

This commit is contained in:
Dark-Alex-17 committed 2023-08-14 13:02:50 -06:00
1 parent 23ad489b15
commit 907fa9a2ec
34 files changed
+932 -545

No files matched your search

+2 -1
View File
@@ -62,7 +62,8 @@ fn draw_downloads<B: Backend>(f: &mut Frame<'_, B>, app: &mut App<'_>, area: Rec
area,
layout_block_top_border(),
TableProps {
content: &mut app.data.radarr_data.downloads,
content: Some(&mut app.data.radarr_data.downloads),
wrapped_content: None,
table_headers: vec![
"Title",
"Percent Complete",