allow creating new folders at selecting the save folder
This commit is contained in:
parent
1fe72e79cb
commit
9b27d22bf3
|
@ -52,7 +52,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
private fun setupSavePhotosFolder() {
|
private fun setupSavePhotosFolder() {
|
||||||
settings_save_photos.text = getLastPart(config.savePhotosFolder)
|
settings_save_photos.text = getLastPart(config.savePhotosFolder)
|
||||||
settings_save_photos_holder.setOnClickListener {
|
settings_save_photos_holder.setOnClickListener {
|
||||||
FilePickerDialog(this, config.savePhotosFolder, false) {
|
FilePickerDialog(this, config.savePhotosFolder, false, showFAB = true) {
|
||||||
handleSAFDialog(File(it)) {
|
handleSAFDialog(File(it)) {
|
||||||
config.savePhotosFolder = it
|
config.savePhotosFolder = it
|
||||||
settings_save_photos.text = getLastPart(config.savePhotosFolder)
|
settings_save_photos.text = getLastPart(config.savePhotosFolder)
|
||||||
|
|
Loading…
Reference in New Issue