Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/account
Nik Clayton 791092ef13
Fix extra clicks on media tab (#3930)
If:

1. You're viewing an account's media tab
2. Some of the media was marked sensitivei
3. The `alwaysShowSensitiveMedia` setting was `true`

tapping on the image (once) would do nothing visible, because it was
treated as the "reveal sensitive media" tap. You had to tap on it a
second time to open it.

Fix this, by passing the preference value through to the relevant code.

---------

Co-authored-by: Tiga! <maxiinne@proton.me>
2023-08-07 19:30:56 +02:00
..
list Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
media Fix extra clicks on media tab (#3930) 2023-08-07 19:30:56 +02:00
AccountActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
AccountFieldAdapter.kt Remove Identity Proof Support (#2456) 2022-04-27 19:58:39 +02:00
AccountPagerAdapter.kt AccountMediaFragment improvements (#2684) 2022-09-02 16:52:47 +02:00
AccountViewModel.kt Do not crash on empty relationship response 2023-04-05 10:54:03 +02:00