|
@@ -4694,8 +4694,11 @@
|
|
|
// Image Status Encrypted
|
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
- // if (metadata.encrypted)
|
|
|
- // cell.status.image = [UIImage imageNamed:@"encrypted"];
|
|
|
+ if (_folderEncrypted && !metadata.directory) {
|
|
|
+ tableE2eEncryption *tableE2eEncryption = [[NCManageDatabase sharedInstance] getE2eEncryptionWithPredicate:[NSPredicate predicateWithFormat:@"account = %@ AND fileNameIdentifier = %@", app.activeAccount, metadata.fileName]];
|
|
|
+ if (tableE2eEncryption)
|
|
|
+ cell.status.image = [UIImage imageNamed:@"encrypted"];
|
|
|
+ }
|
|
|
|
|
|
// ----------------------------------------------------------------------------------------------------------
|
|
|
// Favorite
|