From 6cf993a26380a14ab15f4b60812229441c6c74e3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 17 Mar 2017 23:53:51 +0100 Subject: [PATCH] update the included folders list after adding one --- .../gallery/activities/IncludedFoldersActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt index 9c359d37f..53c45cf8a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt @@ -56,6 +56,7 @@ class IncludedFoldersActivity : SimpleActivity() { private fun addIncludedFolder() { FilePickerDialog(this, pickFile = false, showHidden = config.showHiddenFolders) { config.addIncludedFolder(it) + updateIncludedFolders() scanPath(it) {} } }