mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-09 08:38:40 +01:00
fix #1897, properly load zoomable images in some cases
This commit is contained in:
parent
e31cdf1381
commit
4106df2b6c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user