excluded folders should not enforce storage restrictions on SDK 30+
This commit is contained in:
parent
7e74734fc8
commit
6fbdb8aa51
1 changed files with 9 additions and 1 deletions
|
@ -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…
Reference in a new issue