refactor: Simplified both the table_handler macro and the stateful_table implementation

This commit is contained in:
Dark-Alex-17 committed 2025-12-04 11:34:45 -07:00
1 parent 659023d561
commit 71240373c0
14 files changed
+192 -419

No files matched your search

-1
View File
@@ -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())