Refactored handlers and UI to have a separate radarr module, and implemented movie search functionality for existing movies.

This commit is contained in:
2023-08-08 10:50:04 -06:00
parent 3f378fb25a
commit a304367e0e
14 changed files with 1263 additions and 929 deletions
+4
View File
@@ -58,6 +58,10 @@ impl<T: Clone> StatefulTable<T> {
pub fn current_selection_clone(&self) -> T {
self.items[self.state.selected().unwrap_or(0)].clone()
}
pub fn select_index(&mut self, index: Option<usize>) {
self.state.select(index);
}
}
impl<T> Scrollable for StatefulTable<T> {