mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
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 {
|
||||
val displayAspectRatio = ViewPagerActivity.screenHeight / (ViewPagerActivity.screenWidth).toFloat()
|
||||
|
||||
val bitmapOptions = BitmapFactory.Options()
|
||||
bitmapOptions.inJustDecodeBounds = true
|
||||
BitmapFactory.decodeFile(medium.path, bitmapOptions)
|
||||
|
|
Loading…
Reference in a new issue