Handle default command behavior

This commit is contained in:
Rasmus Larsen
2019-05-21 16:01:56 +02:00
parent 0beaa82a1f
commit 1e0d9ea952
4 changed files with 123 additions and 209 deletions

View File

@@ -184,7 +184,7 @@ fn main() {
cfg.use_nerdfont.unwrap_or(false),
));
let mut cmd_manager = CommandManager::new();
let mut cmd_manager = CommandManager::new(spotify.clone(), queue.clone(), library.clone());
cmd_manager.register_all(spotify.clone(), queue.clone(), library.clone());
let cmd_manager = Arc::new(cmd_manager);