updating commons

This commit is contained in:
tibbi 2021-12-19 21:25:57 +01:00
parent a3ff0ede9d
commit 51c15be895
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:9759404390' implementation 'com.github.SimpleMobileTools:Simple-Commons:da849e726f'
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.23' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23'

View file

@ -213,7 +213,7 @@ fun BaseSimpleActivity.toggleFileVisibility(oldPath: String, hide: Boolean, call
} }
val newPath = "$path/$filename" val newPath = "$path/$filename"
renameFile(oldPath, newPath) { renameFile(oldPath, newPath, false) { success, useAndroid30Way ->
runOnUiThread { runOnUiThread {
callback?.invoke(newPath) callback?.invoke(newPath)
} }