Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Change method name
  • Loading branch information
echoSayonara committed Nov 27, 2019
commit 46fcbf0bd444b6b414bb2b5ea8cabc32a478d64b
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ impl App {
}
}

pub fn delete_current_user_saved_album(&mut self) {
pub fn current_user_saved_album_delete(&mut self) {
if let Some(albums) = self.library.saved_albums.get_results(None) {
if let Some(selected_album) = albums.items.get(self.album_list_index) {
if let Some(spotify) = &mut self.spotify {
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/album_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub fn handler(key: Key, app: &mut App) {
}
Key::Ctrl('d') => app.get_current_user_saved_albums_next(),
Key::Ctrl('u') => app.get_current_user_saved_albums_previous(),
Key::Char('D') => app.delete_current_user_saved_album(),
Key::Char('D') => app.current_user_saved_album_delete(),
_ => {}
};
}
Expand Down