use cached credentials from librespot

attempt at fixing #160
This commit is contained in:
Henrik Friedrichsen
2020-04-08 21:07:20 +02:00
parent e4a600ced5
commit b5566351b5
2 changed files with 15 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ impl ViewExt for HelpView {
"Help".to_string()
}
fn on_command(&mut self, s: &mut Cursive, cmd: &Command) -> Result<CommandResult, String> {
fn on_command(&mut self, _s: &mut Cursive, cmd: &Command) -> Result<CommandResult, String> {
if let Command::Help = cmd {
Ok(CommandResult::Consumed(None))
} else {