mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #151] [MERGED] Windows duplicate keys #643
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#643
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/aome510/spotify-player/pull/151
Author: @ViniciusAndr
Created: 3/2/2023
Status: ✅ Merged
Merged: 3/2/2023
Merged by: @aome510
Base:
master← Head:windows_duplicate_keys📝 Commits (3)
0812e47solving duplicate windows keys error52db0daremoving unnecessary variable3f86a9fonly handle pressed key events📊 Changes
1 file changed (+11 additions, -1 deletions)
View changed files
📝
spotify_player/src/event/mod.rs(+11 -1)📄 Description
Resolves #136
Hi, I saw that the error happened because the code was called twice, I couldn't figure out the reason, but this change worked for me.
I put a timer to give a delay of 0.3 seconds for each command only when it is windows and that solved the error, as I have no experience in rust so I don't know if there would be another way to solve it
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.