diff --git a/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt index c97d56290..54c2984ed 100644 --- a/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/org/fossify/gallery/fragments/PhotoFragment.kt @@ -271,12 +271,6 @@ class PhotoFragment : ViewPagerFragment() { } mLoadZoomableViewHandler.removeCallbacksAndMessages(null) - if (mCurrentRotationDegrees != 0) { - ensureBackgroundThread { - val path = mMedium.path - (activity as? BaseSimpleActivity)?.saveRotatedImageToFile(path, path, mCurrentRotationDegrees, false) {} - } - } } override fun onConfigurationChanged(newConfig: Configuration) {