feat(app): Dispatch support for all relevant Sonarr blocks
This commit is contained in:
1 parent
73a4129000
commit
f139db07d9
86 files changed
+4075
-3005
No files matched your search
@@ -30,7 +30,7 @@ impl DrawUi for RootFoldersUi {
|
||||
}
|
||||
|
||||
fn draw(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect) {
|
||||
if let Route::Radarr(active_radarr_block, _) = *app.get_current_route() {
|
||||
if let Route::Radarr(active_radarr_block, _) = app.get_current_route() {
|
||||
match active_radarr_block {
|
||||
ActiveRadarrBlock::RootFolders => draw_root_folders(f, app, area),
|
||||
ActiveRadarrBlock::AddRootFolderPrompt => draw_popup_over(
|
||||
|
||||
Reference in new issue
Block a user