feat(handler): Wired in the blocklist handler to the main handlers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use blocklist::BlocklistHandler;
|
||||
use downloads::DownloadsHandler;
|
||||
use library::LibraryHandler;
|
||||
|
||||
@@ -37,6 +38,9 @@ impl<'a, 'b> KeyEventHandler<'a, 'b, ActiveSonarrBlock> for SonarrHandler<'a, 'b
|
||||
_ if DownloadsHandler::accepts(self.active_sonarr_block) => {
|
||||
DownloadsHandler::with(self.key, self.app, self.active_sonarr_block, self.context).handle()
|
||||
}
|
||||
_ if BlocklistHandler::accepts(self.active_sonarr_block) => {
|
||||
BlocklistHandler::with(self.key, self.app, self.active_sonarr_block, self.context).handle()
|
||||
}
|
||||
_ => self.handle_key_event(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user