From 3329f3e08080490adb1f5eac34946771d2b0017e Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:39:16 +0100 Subject: [PATCH] Removed autosaving rotation (#241) --- .../kotlin/org/fossify/gallery/fragments/PhotoFragment.kt | 6 ------ 1 file changed, 6 deletions(-) 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) {