mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-03-28 22:37:46 +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 {
|
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…
Add table
Reference in a new issue