Removed autosaving rotation (#241)

This commit is contained in:
Agnieszka C 2024-10-30 08:39:16 +01:00
parent 18a2036226
commit 3329f3e080

View file

@ -271,12 +271,6 @@ class PhotoFragment : ViewPagerFragment() {
} }
mLoadZoomableViewHandler.removeCallbacksAndMessages(null) mLoadZoomableViewHandler.removeCallbacksAndMessages(null)
if (mCurrentRotationDegrees != 0) {
ensureBackgroundThread {
val path = mMedium.path
(activity as? BaseSimpleActivity)?.saveRotatedImageToFile(path, path, mCurrentRotationDegrees, false) {}
}
}
} }
override fun onConfigurationChanged(newConfig: Configuration) { override fun onConfigurationChanged(newConfig: Configuration) {