-
-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix user image being too cropped in #3005
Fix user image being too cropped in #3005
Conversation
Also, for some reason I'm only able to replicate the bug in 0.16 betas and on master. On the .15 release the image is loaded correctly with no issues. |
We switched the image library from Glide to Coil (#2889) for 0.16 so this is likely a regression from that change. |
I noticed this also in the 0.16 branch fwiw |
Issue seems to be caused by coil-kt/coil#1505, changing the placeholder to be square should be a good fix to workaround the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine except for the one comment.
Changes
On first open of the user select menu the transition between the placeholder and the user image forced the image to use the dimensions of the placeholder. This resulted in the image being far too cropped in.
Before
After
This is kinda a hack as I simply converted the placeholder image into a square, but it works and I'm not sure what else could be done.