encode percent sign at file paths too
This commit is contained in:
parent
9aaee4e648
commit
c708f183e2
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
}
|
||||
|
||||
var pathToLoad = if (medium.path.startsWith("content://")) medium.path else "file://${medium.path}"
|
||||
pathToLoad = pathToLoad.replace("#", "%23")
|
||||
pathToLoad = pathToLoad.replace("%", "%25").replace("#", "%23")
|
||||
val picasso = Picasso.get()
|
||||
.load(pathToLoad)
|
||||
.centerInside()
|
||||
|
|
Loading…
Reference in a new issue