Closed skjiisa closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to inactivity.
Bug description
The collection picker thumbnails do not respect device scale, leaving devices with a 2x or 3x scale to not render full-resolution thumbnails.
Steps to reproduce
Actual result: Collection thumbnails appear low resolution
Expected result: Collection thumbnails appear higher resolution
Screenshots
Notice that the folder thumbnail from the Photos app is clearer despite being a smaller UI element.
Device info
Device: 2018 iPad Pro 11-inch
iOS version: 16.4.1
Signal version: 6.22.0.9
Proposed solution
I noticed this while working on a PR (#5589) and I think an easy solution would be to add an extra property to
PhotoMediaSize
which multiplies the dimensions by the device scale. The current property would be used for UI constraints while the new value would be used for image fetching.