Display parent folder in NoDirFileDialog instead of the dir.c9r file
This commit is contained in:
parent
a8d789440e
commit
3896db3631
@ -285,7 +285,7 @@ open class CryptoImplVaultFormat7 : CryptoImplDecorator {
|
|||||||
ByteArrayOutputStream().use { out ->
|
ByteArrayOutputStream().use { out ->
|
||||||
cloudContentRepository.read(file, null, out, ProgressAware.NO_OP_PROGRESS_AWARE_DOWNLOAD)
|
cloudContentRepository.read(file, null, out, ProgressAware.NO_OP_PROGRESS_AWARE_DOWNLOAD)
|
||||||
if (dirfileIsEmpty(out)) {
|
if (dirfileIsEmpty(out)) {
|
||||||
throw EmptyDirFileException(file.name, file.path)
|
throw EmptyDirFileException(file.parent.name, file.path)
|
||||||
}
|
}
|
||||||
return out.toByteArray()
|
return out.toByteArray()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user