Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use crossterm::{
terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen},
ExecutableCommand,
};
use failure::format_err;
use redirect_uri::redirect_uri_web_server;
use rspotify::spotify::{
client::Spotify,
Expand Down Expand Up @@ -173,10 +172,7 @@ fn main() -> Result<(), failure::Error> {

app.spotify = Some(spotify);

app.clipboard_context =
Some(clipboard::ClipboardProvider::new().map_err(|err| {
format_err!("failed to intialize clipboard context: {}", err)
})?);
app.clipboard_context = clipboard::ClipboardProvider::new().ok();

// Now that spotify is ready, check if the user has already selected a device_id to
// play music on, if not send them to the device selection view
Expand Down