Display parent folder in NoDirFileDialog instead of the dir.c9r file

This commit is contained in:
Julian Raufelder 2021-09-22 15:54:23 +02:00
parent a8d789440e
commit 3896db3631
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -285,7 +285,7 @@ open class CryptoImplVaultFormat7 : CryptoImplDecorator {
ByteArrayOutputStream().use { out ->
cloudContentRepository.read(file, null, out, ProgressAware.NO_OP_PROGRESS_AWARE_DOWNLOAD)
if (dirfileIsEmpty(out)) {
throw EmptyDirFileException(file.name, file.path)
throw EmptyDirFileException(file.parent.name, file.path)
}
return out.toByteArray()
}