mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
rescan files after editing
This commit is contained in:
@@ -78,7 +78,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:3e78714205'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:8663595392'
|
||||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
||||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22'
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22'
|
||||||
|
@@ -887,9 +887,11 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
|||||||
|
|
||||||
private fun scanFinalPath(path: String) {
|
private fun scanFinalPath(path: String) {
|
||||||
val paths = arrayListOf(path)
|
val paths = arrayListOf(path)
|
||||||
fixDateTaken(paths, false)
|
rescanPaths(paths) {
|
||||||
setResult(Activity.RESULT_OK, intent)
|
fixDateTaken(paths, false)
|
||||||
toast(R.string.file_saved)
|
setResult(Activity.RESULT_OK, intent)
|
||||||
finish()
|
toast(R.string.file_saved)
|
||||||
|
finish()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user