feat(ui): Blocklist UI support

This commit is contained in:
Dark-Alex-17 committed 2024-12-02 16:54:27 -07:00
1 parent 3186fb42e7
commit 1c6e798632
3 files changed
+199

No files matched your search

+3
View File
@@ -1,5 +1,6 @@
use std::{cmp, iter};
use blocklist::BlocklistUi;
use chrono::{Duration, Utc};
use downloads::DownloadsUi;
use library::LibraryUi;
@@ -33,6 +34,7 @@ use super::{
DrawUi,
};
mod blocklist;
mod downloads;
mod library;
@@ -54,6 +56,7 @@ impl DrawUi for SonarrUi {
match route {
_ if LibraryUi::accepts(route) => LibraryUi::draw(f, app, content_area),
_ if DownloadsUi::accepts(route) => DownloadsUi::draw(f, app, content_area),
_ if BlocklistUi::accepts(route) => BlocklistUi::draw(f, app, content_area),
_ => (),
}
}