mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[PR #826] [MERGED] Pressing d twice requires q twice to exit #1042
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#1042
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/826
Author: @cobbinma
Created: 6/1/2021
Status: ✅ Merged
Merged: 8/23/2021
Merged by: @Rigellute
Base:
master← Head:multiple-d-clicks📝 Commits (5)
35fa44ededup selected device routes from nav stack3ebee74dedup any matching routes from nav stackee4d373catch duplicate route id on push9e5e4b1remove returne8116ffremove id from variable name📊 Changes
1 file changed (+12 additions, -5 deletions)
View changed files
📝
src/app.rs(+12 -5)📄 Description
Hi guys 👋,
First attempt at a PR here and attempted to resolve issue
Did this by
deduping any routes on the navigation stack with matching ids.The device selector popup can be opened multiple times by pressing
dmore than once.To get back to the main menu, each of these needs to be closed separately by pressing
qthe same number of times.It would be nicer if pressing
qonly once always goes back to the main menu.E.g, actual behavior:
press
dpress
dpress
qYou're seeing the device selector
expected behavior:
press
dpress
dpress
qYou're seeing the main menu
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.