Added full support for managing root folders, and also for changing the root folder when adding a movie

This commit is contained in:
2023-08-08 10:50:06 -06:00
parent a564710aee
commit c606fe8573
10 changed files with 157 additions and 40 deletions
+13
View File
@@ -879,3 +879,16 @@ fn draw_select_quality_profile_popup<B: Backend>(
|quality_profile| ListItem::new(quality_profile.clone()),
);
}
fn draw_select_root_folder_popup<B: Backend>(
f: &mut Frame<'_, B>,
app: &mut App,
popup_area: Rect,
) {
draw_drop_down_list(
f,
popup_area,
&mut app.data.radarr_data.root_folder_list,
|root_folder| ListItem::new(root_folder.path.to_owned()),
);
}