element-hq / element-hq/element-android

image viewer counter is inconsistent

Open
#1,667 0 comments 0 reactions 0 assignees View on GitHub
A-Media
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

the new image viewer has a counter in the top left corner (e.g. "1 of 4").

In the same room when I click on the newest image in the timeline it displays "1 of 1" and doesn't let me swipe left/right.

When I go to uploads -> media it displays more images. When I open the first one it displays "1 of 10" and on all other images it displays nothing in the upper left corner.

Maybe it makes sense to only display the counter when you open it via uploads -> media in unencrypted rooms?

In unencrypted rooms it should imo never display the counter (as uploads -> media is only populated from cache in e2ee rooms and thus it'd be always wrong)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.