mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
decode the file path UI after editing an image
This commit is contained in:
parent
94ab013b6b
commit
e68a4ae99b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class NewEditActivity : SimpleActivity() {
|
|||
} else {
|
||||
// the image is stored at the internal app storage first, for example /data/user/0/com.simplemobiletools.gallery.pro/files/editor/IMG_20191207_183023.jpg
|
||||
// first we rename it to the desired name, then move
|
||||
val sourceString = sourceImageUri?.toString() ?: ""
|
||||
val sourceString = Uri.decode(sourceImageUri.toString())?.toString() ?: ""
|
||||
val source = if (sourceString.isEmpty() || sourceString.startsWith("content")) {
|
||||
internalStoragePath
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue