excluded folders should not enforce storage restrictions on SDK 30+

This commit is contained in:
darthpaul 2022-05-26 10:30:54 +01:00
parent 7e74734fc8
commit 6fbdb8aa51

View file

@ -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()