Fix resizing image uniformly when opening an image (#1076)
This commit is contained in:
parent
b8ca60da1c
commit
d018b0180a
@ -184,6 +184,7 @@ class ViewImageFragment : ViewMediaFragment() {
|
||||
.networkPolicy(NetworkPolicy.NO_STORE)
|
||||
.resize(maxW, maxH)
|
||||
.onlyScaleDown()
|
||||
.centerInside()
|
||||
.into(photoView, object : Callback {
|
||||
override fun onSuccess() {
|
||||
finishLoadingSuccessfully()
|
||||
|
Loading…
Reference in New Issue
Block a user