handle locked folders at the file picker adapter too

This commit is contained in:
tibbi 2019-07-02 21:27:54 +02:00
parent f5f6397743
commit f069d6e60d
2 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@ buildscript {
propMinSdkVersion = 21
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
propVersionName = '5.14.9'
propVersionName = '5.14.10'
kotlin_version = '1.3.40'
}

View file

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