diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ExcludedFoldersActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ExcludedFoldersActivity.kt index 7eb953c4d..8dc1434b7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ExcludedFoldersActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ExcludedFoldersActivity.kt @@ -60,7 +60,15 @@ class ExcludedFoldersActivity : SimpleActivity(), RefreshRecyclerViewListener { } private fun addFolder() { - FilePickerDialog(this, internalStoragePath, false, config.shouldShowHidden, false, true) { + FilePickerDialog( + activity = this, + internalStoragePath, + pickFile = false, + config.shouldShowHidden, + showFAB = false, + canAddShowHiddenButton = true, + enforceStorageRestrictions = false, + ) { config.lastFilepickerPath = it config.addExcludedFolder(it) updateFolders()