mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-04-13 09:52:47 +02:00
Merge pull request #2484 from KryptKode/fix/excluded_folders
excluded folders should not enforce storage restrictions on SDK 30+
This commit is contained in:
commit
b2faba3864
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user