updating commons, gradle, kotlin

This commit is contained in:
tibbi
2020-04-21 22:04:38 +02:00
parent 23b48edbac
commit 15ca2195f8
4 changed files with 9 additions and 7 deletions

View File

@@ -57,5 +57,5 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.22.19'
implementation 'com.simplemobiletools:commons:5.26.18'
}

View File

@@ -173,8 +173,10 @@ class SettingsActivity : SimpleActivity() {
FilePickerDialog(this, config.savePhotosFolder, false, showFAB = true) {
val path = it
handleSAFDialog(it) {
config.savePhotosFolder = path
settings_save_photos.text = getLastPart(config.savePhotosFolder)
if (it) {
config.savePhotosFolder = path
settings_save_photos.text = getLastPart(config.savePhotosFolder)
}
}
}
}