feat(app): Dispatch support for all relevant Sonarr blocks

This commit is contained in:
Dark-Alex-17 committed 2024-11-27 17:06:20 -07:00
1 parent 73a4129000
commit f139db07d9
86 files changed
+4075 -3005

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ impl DrawUi for RadarrUi {
fn draw(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
let content_area = draw_tabs(f, area, "Movies", &app.data.radarr_data.main_tabs);
let route = *app.get_current_route();
let route = app.get_current_route();
match route {
_ if LibraryUi::accepts(route) => LibraryUi::draw(f, app, content_area),