handle locked passwords as copy/move destinations
This commit is contained in:
parent
6625a3dbb7
commit
4d3d7eaf3f
|
@ -76,7 +76,9 @@ class PickDirectoryDialog(val activity: BaseSimpleActivity, val sourcePath: Stri
|
||||||
|
|
||||||
private fun showOtherFolder() {
|
private fun showOtherFolder() {
|
||||||
FilePickerDialog(activity, sourcePath, false, showHidden, true, true) {
|
FilePickerDialog(activity, sourcePath, false, showHidden, true, true) {
|
||||||
callback(it)
|
activity.handleLockedFolderOpening(it) {
|
||||||
|
callback(it)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +102,9 @@ class PickDirectoryDialog(val activity: BaseSimpleActivity, val sourcePath: Stri
|
||||||
activity.toast(R.string.source_and_destination_same)
|
activity.toast(R.string.source_and_destination_same)
|
||||||
return@DirectoryAdapter
|
return@DirectoryAdapter
|
||||||
} else {
|
} else {
|
||||||
callback(path)
|
activity.handleLockedFolderOpening(path) {
|
||||||
|
callback(path)
|
||||||
|
}
|
||||||
dialog.dismiss()
|
dialog.dismiss()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue