remove the unused displayAspectRatio variable

This commit is contained in:
tibbi 2017-06-18 18:19:03 +02:00
parent 7850b13d4f
commit 77b7608636

View file

@ -230,8 +230,6 @@ class PhotoFragment : ViewPagerFragment() {
}
private fun getDoubleTapZoomScale(): Float {
val displayAspectRatio = ViewPagerActivity.screenHeight / (ViewPagerActivity.screenWidth).toFloat()
val bitmapOptions = BitmapFactory.Options()
bitmapOptions.inJustDecodeBounds = true
BitmapFactory.decodeFile(medium.path, bitmapOptions)