mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 00:25:53 +03:00
[PR #137] [CLOSED] Fix paging in the Playlist #627
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#627
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/137
Author: @ghost
Created: 11/5/2019
Status: ❌ Closed
Base:
revert-133-page-scroll-rigel← Head:revert-page-scroll📝 Commits (2)
646af00Fix paging in the Playliste620e69Use if let instead of match📊 Changes
1 file changed (+25 additions, -6 deletions)
View changed files
📝
src/main.rs(+25 -6)📄 Description
Fix the problem that a wrong track is played after open some playlists. https://github.com/Rigellute/spotify-tui/pull/133#issuecomment-549640154
Reset
playlist_trackswhen go back from the track table of a playlist and it fix the problem.Paging in the playlist does not have problems that you pointed out and I found. Scrolling down/up works well and a correct track is played when i press enter in the track table of a playlist.
I commented out some codes that does not go well (line 249-256 in
main.rs). Although it goes not work but it seems better to me. I do not know why those codes does work. Please check it.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.