|
@@ -528,9 +528,11 @@ extension NCSelect: UICollectionViewDataSource {
|
|
|
} else {
|
|
|
cell.imageShared.image = NCBrandColor.cacheImages.canShare
|
|
|
}
|
|
|
+
|
|
|
+ // Avatar
|
|
|
if metadata.ownerId.count > 0 && metadata.ownerId != activeAccount.userId {
|
|
|
let fileNameLocalPath = String(CCUtility.getDirectoryUserData()) + "/" + String(CCUtility.getStringUser(activeAccount.user, urlBase: activeAccount.urlBase)) + "-" + metadata.ownerId + ".png"
|
|
|
- NCOperationQueue.shared.downloadAvatar(user: metadata.ownerId, fileNameLocalPath: fileNameLocalPath, placeholder: nil, cell: cell, view: collectionView, indexPath: indexPath)
|
|
|
+ NCOperationQueue.shared.downloadAvatar(user: metadata.ownerId, fileNameLocalPath: fileNameLocalPath, placeholder: NCBrandColor.cacheImages.shared, cell: cell, view: collectionView, indexPath: indexPath)
|
|
|
}
|
|
|
|
|
|
cell.imageSelect.isHidden = true
|