refactor: Simplified both the table_handler macro and the stateful_table implementation
This commit is contained in:
1 parent
659023d561
commit
71240373c0
14 files changed
+192
-419
No files matched your search
@@ -23,7 +23,6 @@ mod tests {
|
||||
fn handle(&mut self) {
|
||||
let movie_table_handling_config = TableHandlingConfig::new(ActiveRadarrBlock::Movies.into())
|
||||
.sorting_block(ActiveRadarrBlock::MoviesSortPrompt.into())
|
||||
.sort_by_fn(|a: &Movie, b: &Movie| a.id.cmp(&b.id))
|
||||
.sort_options(sort_options())
|
||||
.searching_block(ActiveRadarrBlock::SearchMovie.into())
|
||||
.search_error_block(ActiveRadarrBlock::SearchMovieError.into())
|
||||
|
||||
Reference in new issue
Block a user