remove the unused displayAspectRatio variable
This commit is contained in:
parent
7850b13d4f
commit
77b7608636
1 changed files with 0 additions and 2 deletions
|
@ -230,8 +230,6 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getDoubleTapZoomScale(): Float {
|
private fun getDoubleTapZoomScale(): Float {
|
||||||
val displayAspectRatio = ViewPagerActivity.screenHeight / (ViewPagerActivity.screenWidth).toFloat()
|
|
||||||
|
|
||||||
val bitmapOptions = BitmapFactory.Options()
|
val bitmapOptions = BitmapFactory.Options()
|
||||||
bitmapOptions.inJustDecodeBounds = true
|
bitmapOptions.inJustDecodeBounds = true
|
||||||
BitmapFactory.decodeFile(medium.path, bitmapOptions)
|
BitmapFactory.decodeFile(medium.path, bitmapOptions)
|
||||||
|
|
Loading…
Reference in a new issue