fix image scaling after swipe down gesture ended in ViewImageFragment (#4135)

closes #4132
This commit is contained in:
Konrad Pozniak 2023-12-05 19:28:52 +01:00 committed by GitHub
parent 390ae00cb5
commit e1f2d639aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class ViewImageFragment : ViewMediaFragment() {
if (abs(view.translationY) > 180) {
photoActionsListener.onDismiss()
} else {
view.animate().translationY(0f).scaleX(1f).start()
view.animate().translationY(0f).scaleX(1f).scaleY(1f).start()
}
}
})