Skip to content

Conversation

@SystemKeeper
Copy link
Collaborator

Corresponding server PR:

When the photos app is enabled on the server (read: does not work on sermo), it determines the width and height of an image and stores these informations as metadata. When available we get these information in the file parameter array and can calculate the size of the preview, before even requesting it. This allows us to correctly size the FileMessageTableViewCell upfront and avoid jumping.

Additionally this PR does not use a placeholder image anymore, but instead uses a activity indicator while we load a preview.

@SystemKeeper SystemKeeper requested a review from Ivansss December 9, 2023 15:39
@Ivansss Ivansss merged commit b288ff7 into master Dec 27, 2023
@Ivansss Ivansss deleted the improve-file-cell-height-calculation branch December 27, 2023 17:02
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.

3 participants