diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-25 08:13:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 08:13:59 +0000 |
commit | fad978432e2f8c3a676d137d9683bf1f470da1f0 (patch) | |
tree | 16179322ddae5624d0e7f37ad303996526734776 /app/src/main/res/values/strings.xml | |
parent | 85debf62f3807f1b137883169eafe79070355a31 (diff) | |
download | infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar.gz infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar.bz2 infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar.lz infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar.xz infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.tar.zst infinity-for-reddit-fad978432e2f8c3a676d137d9683bf1f470da1f0.zip |
Fix spoiler interactions with links and long clicks (#1129)
* Prioritize clicks on hidden spoilers over links
Extend BetterLinkMovementMethod to override selection of span that will be
touched and give spoilers and links following priorities:
1. Hidden spoiler
2. Non-spoiler span (i.e. link)
3. Shown spoiler
#609
* Ignore long clicks on spoilers
Ignore long clicks if it is a SpoilerSpan. Also don't apply highlight
because it breaks spoiler effect.
#529
Diffstat (limited to 'app/src/main/res/values/strings.xml')
0 files changed, 0 insertions, 0 deletions