-
Notifications
You must be signed in to change notification settings - Fork 505
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
Add Copy Tracker URL on icon long press #1101
Conversation
Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
Re: #1087 (comment), how about adding "Copy to clipboard" to the 3-dot menu too? inb4 Antsy: Switch "Implements" for a supported keyword |
Good idea, I will check into it. In that case, why not also have a copy name item? Or long click the open in browser?
done :) |
Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
Replace text with "Copy link"? |
I was looking for text that would better suit it, but "Copy to clipboard" is the closest I could find in the locales texts. Should I just add it into there? |
Yeah do that |
Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
app/src/main/java/eu/kanade/presentation/track/components/TrackLogoIcon.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackInfoDialog.kt
Outdated
Show resolved
Hide resolved
> > Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com>
app/src/main/java/eu/kanade/presentation/track/components/TrackLogoIcon.kt
Outdated
Show resolved
Hide resolved
* Add Copy Tracker URL on icon long press Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com> * Add 'Copy To Clipboard' to tracker item menu Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com> * Add 'Copy link' to locales. Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com> * Implement code review suggestions > > Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com> * Update app/src/main/java/eu/kanade/presentation/track/components/TrackLogoIcon.kt --------- Signed-off-by: Catt0s <5874051+mm12@users.noreply.github.com> Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> (cherry picked from commit 200d39e)
resolves #1087.
When the icon for a tracker is held down, the tracker URL is copied to the clipboard, if it exists.
From @BrutuZ's comment, I have also added it to the menu: