rotate the fullscreen image appropriately

This commit is contained in:
tibbi 2017-03-17 19:51:28 +01:00
parent 6a637797e1
commit 70afd83bd7
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}