diff --git a/app/build.gradle b/app/build.gradle index daae7ddcb..a1c4bf450 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.31.3' + implementation 'com.simplemobiletools:commons:5.31.6' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19' diff --git a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt index f07b04bc7..a1c5fa8cd 100644 --- a/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt +++ b/app/src/proprietary/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt @@ -104,7 +104,7 @@ class NewEditActivity : SimpleActivity() { if (requestCode == PESDK_EDIT_IMAGE) { val extras = resultData?.extras val resultPath = extras?.get(RESULT_URI)?.toString() ?: "" - val sourcePath = extras?.get(SOURCE_URI)?.toString() ?: "" + val sourcePath = Uri.decode(extras?.get(SOURCE_URI)?.toString() ?: "") val settings = extras?.getParcelable(SETTINGS_LIST) if (settings != null) { val brush = settings.getSettingsModel(BrushSettings::class.java)