diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MyGlideImageDecoder.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MyGlideImageDecoder.kt index f56fc88d0..0287a3b39 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MyGlideImageDecoder.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MyGlideImageDecoder.kt @@ -20,7 +20,7 @@ class MyGlideImageDecoder(val degrees: Int, val signature: ObjectKey) : ImageDec val builder = Glide.with(context) .asBitmap() - .load(uri) + .load(uri.toString().substringAfter("file://")) .apply(options) .transform(RotateTransformation(-degrees)) .into(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL)