handle locked folders at the file picker adapter too
This commit is contained in:
parent
f5f6397743
commit
f069d6e60d
2 changed files with 5 additions and 3 deletions
|
@ -7,7 +7,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.14.9'
|
||||
propVersionName = '5.14.10'
|
||||
kotlin_version = '1.3.40'
|
||||
}
|
||||
|
||||
|
|
|
@ -139,8 +139,10 @@ class FilePickerDialog(val activity: BaseSimpleActivity,
|
|||
|
||||
val adapter = FilepickerItemsAdapter(activity, sortedItems, mDialogView.filepicker_list) {
|
||||
if ((it as FileDirItem).isDirectory) {
|
||||
currPath = it.path
|
||||
tryUpdateItems()
|
||||
activity.handleLockedFolderOpening(it.path) {
|
||||
currPath = it.path
|
||||
tryUpdateItems()
|
||||
}
|
||||
} else if (pickFile) {
|
||||
currPath = it.path
|
||||
verifyPath()
|
||||
|
|
Loading…
Reference in a new issue