mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-18 06:17:59 +01:00
OCD :-P
This commit is contained in:
parent
5294997eef
commit
1cecff008c
1 changed files with 2 additions and 2 deletions
|
@ -532,9 +532,9 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun rotationFromDegrees(degrees: Float) = when (degrees) {
|
private fun rotationFromDegrees(degrees: Float) = when (degrees) {
|
||||||
90f -> ExifInterface.ORIENTATION_ROTATE_90
|
|
||||||
180f -> ExifInterface.ORIENTATION_ROTATE_180
|
|
||||||
270f -> ExifInterface.ORIENTATION_ROTATE_270
|
270f -> ExifInterface.ORIENTATION_ROTATE_270
|
||||||
|
180f -> ExifInterface.ORIENTATION_ROTATE_180
|
||||||
|
90f -> ExifInterface.ORIENTATION_ROTATE_90
|
||||||
else -> ExifInterface.ORIENTATION_NORMAL
|
else -> ExifInterface.ORIENTATION_NORMAL
|
||||||
}.toString()
|
}.toString()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue