From 10a742bacdef101060ee8f853b3cffefd30db4b0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 17 Mar 2017 23:17:49 +0100 Subject: [PATCH] scan the path of included folder, maybe it fixes it --- .../gallery/activities/IncludedFoldersActivity.kt | 2 ++ 1 file changed, 2 insertions(+) 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 c1c2902ea..9c359d37f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/IncludedFoldersActivity.kt @@ -5,6 +5,7 @@ import android.os.Bundle import android.view.Menu import android.view.MenuItem import com.simplemobiletools.commons.dialogs.FilePickerDialog +import com.simplemobiletools.commons.extensions.scanPath import com.simplemobiletools.gallery.R import com.simplemobiletools.gallery.extensions.config import kotlinx.android.synthetic.main.activity_included_folders.* @@ -55,6 +56,7 @@ class IncludedFoldersActivity : SimpleActivity() { private fun addIncludedFolder() { FilePickerDialog(this, pickFile = false, showHidden = config.showHiddenFolders) { config.addIncludedFolder(it) + scanPath(it) {} } } }