Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[touchbar] Fix likes (they were inverted) #822

Merged
merged 1 commit into from
Oct 9, 2022
Merged

[touchbar] Fix likes (they were inverted) #822

merged 1 commit into from
Oct 9, 2022

Conversation

andrew-mathieu
Copy link
Contributor

When we tap on "👍", it doesn't leave a like but does the opposite

When we tap on "👍", it doesn't leave a like but does the opposite
@anytarseir67
Copy link
Contributor

anytarseir67 commented Sep 9, 2022

When we tap on "👍", it doesn't leave a like but does the opposite

can't reproduce nevermind, am stupid.

Copy link
Owner

@th-ch th-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@th-ch th-ch merged commit 0063be0 into th-ch:master Oct 9, 2022
@l-laziz
Copy link

l-laziz commented Jan 3, 2023

The issue still exists in v.19 - buttons still inverted.

@afairb
Copy link

afairb commented Jan 13, 2023

Looks like the change needed is on line 66 of the file (plugins/touchbar/back.js) instead:

-		controls = [previous, playPause, next, like, dislike];
+		controls = [previous, playPause, next, dislike, like];

I don't have time to make a PR to this repo at the moment sorry, but thought I'd highlight it in case anyone else wants to.

@Araxeus
Copy link
Collaborator

Araxeus commented Jan 13, 2023

Lol this PR only changed the import deconstruction order which is essentially only changing how the code looks 😂

I don't have time to make a PR to this repo at the moment sorry, but thought I'd highlight it in case anyone else wants to.

@Zo-Bro-23 wanna fix it?

@Zo-Bro-23
Copy link
Contributor

Done (#968)!

@Araxeus Araxeus changed the title Fix likes on touchbar (they were inverted) [touchbar] Fix likes (they were inverted) Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants