Skip to content

Conversation

@Kota-Jagadeesh
Copy link
Collaborator

@Kota-Jagadeesh Kota-Jagadeesh commented Dec 8, 2025

Description (required)

Fixes #5788

What changes did you make and why?

  • The image preview screen within the upload process using the external PhotoView library for zoom functionality. The default zoom limit of this library was too low (weak zoom), preventing contributors from inspecting fine details on their images.

So, i resolved this by explicitly adding a call to:
(binding.backgroundImage as PhotoView).setMaximumScale(10.0f)

This change is located in the initializeFragment() method of UploadMediaDetailFragment.kt. It overrides the restrictive default and enables up to 10.0x (1000% zoom), allowing for detailed quality checks before the image is finalized for upload.


Tests performed

Tested ProdDebug on Redmi Note 13 Pro 5g with API level 35.


Screenshots

Before (Weak Zoom) After (Deeper Zoom)
image image

@github-actions
Copy link

✅ Generated APK variants!

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.

allow larger zoom when previewing picture(s) to upoad

1 participant