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

Double-click unlikes is odd #524

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Double-click unlikes is odd #524

wants to merge 3 commits into from

Conversation

rodepanda7
Copy link
Contributor

Closes #403.

Summary

The previous likePhoto function is actually a function that toggles the like, so I changed it to toggleLikePhoto. I added a function that will like the photo even if the photo has already been liked. This function is called after a double-tap

How to test

Steps to test the changes you made:

  1. Go to any album
  2. Click on some photo
  3. Double-tap the photo. If should receive a like. Double-tap again and see that the photo is still liked.
  4. You can test that you can like and unlike the photo by tapping the heart icon on the bottom of the screen

@JAicewizard JAicewizard changed the title Double-click unlikes is odd #403 Double-click unlikes is odd Nov 6, 2024
@JAicewizard
Copy link
Contributor

I have one change I would like to see, is that when scrolling back and forth the images don't disapear and fade back in

@JAicewizard
Copy link
Contributor

I checked, and you cannot fix it. But it would be nice if you could reduce the fadein to a very short time, like 50 ms

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.

Double-click unlikes is odd
2 participants