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:
@@ -59,7 +59,8 @@ fn draw_indexers<B: Backend>(f: &mut Frame<'_, B>, app: &mut App<'_>, area: Rect
|
||||
area,
|
||||
layout_block_top_border(),
|
||||
TableProps {
|
||||
content: &mut app.data.radarr_data.indexers,
|
||||
content: Some(&mut app.data.radarr_data.indexers),
|
||||
wrapped_content: None,
|
||||
table_headers: vec![
|
||||
"Indexer",
|
||||
"RSS",
|
||||
|
||||
Reference in New Issue
Block a user