From e1f2d639aafe6e059816a25f93afa7e8c776fde4 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Tue, 5 Dec 2023 19:28:52 +0100 Subject: [PATCH] fix image scaling after swipe down gesture ended in ViewImageFragment (#4135) closes #4132 --- .../java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt index 24e851e2ad..b6bedbc480 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewImageFragment.kt @@ -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() } } })