From 70afd83bd73c4fd4ea05bdddffb2cc9c51d79e76 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 17 Mar 2017 19:51:28 +0100 Subject: [PATCH] rotate the fullscreen image appropriately --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 675fd7135..c76dc7a71 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -137,6 +137,7 @@ class PhotoFragment : ViewPagerFragment() { Picasso.with(activity) .load("file:${medium.path}") .resize(metrics.widthPixels * 2, metrics.heightPixels * 2) + .rotate(degrees) .centerInside() .into(view.photo_view) }