From 525e44d2b18f35eee831226fa8de41008c12a0a3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 18 Mar 2017 16:03:23 +0100 Subject: [PATCH] fix a variable name --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 2f647d44a..5bbdbbd2d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -134,10 +134,10 @@ class PhotoFragment : ViewPagerFragment() { } private fun loadBitmap(degrees: Float = 0f) { - val densiy = ViewPagerActivity.screenDensity + val densiyy = ViewPagerActivity.screenDensity Picasso.with(activity) .load("file:${medium.path}") - .resize((ViewPagerActivity.screenWidth * densiy).toInt(), (ViewPagerActivity.screenHeight * densiy).toInt()) + .resize((ViewPagerActivity.screenWidth * densiyy).toInt(), (ViewPagerActivity.screenHeight * densiyy).toInt()) .priority(if (isFragmentVisible) Picasso.Priority.HIGH else Picasso.Priority.LOW) .rotate(degrees) .centerInside()