|
@@ -48,7 +48,8 @@ class NCMainCommon: NSObject, NCAudioRecorderViewControllerDelegate, UIDocumentI
|
|
|
static var cellFavouriteImage = UIImage()
|
|
|
static var cellMoreImage = UIImage()
|
|
|
static var cellCommentImage = UIImage()
|
|
|
-
|
|
|
+ static var cellLivePhotoImage = UIImage()
|
|
|
+
|
|
|
static var cellFolderEncryptedImage = UIImage()
|
|
|
static var cellFolderSharedWithMeImage = UIImage()
|
|
|
static var cellFolderPublicImage = UIImage()
|
|
@@ -67,6 +68,7 @@ class NCMainCommon: NSObject, NCAudioRecorderViewControllerDelegate, UIDocumentI
|
|
|
NCMainCommonImages.cellFavouriteImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "favorite"), width: 100, height: 100, color: NCBrandColor.sharedInstance.yellowFavorite)
|
|
|
NCMainCommonImages.cellMoreImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "more"), width: 50, height: 50, color: NCBrandColor.sharedInstance.optionItem)
|
|
|
NCMainCommonImages.cellCommentImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "comment"), width: 30, height: 30, color: NCBrandColor.sharedInstance.graySoft)
|
|
|
+ NCMainCommonImages.cellLivePhotoImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "livePhoto"), width: 100, height: 100, color: NCBrandColor.sharedInstance.textView)
|
|
|
|
|
|
NCMainCommonImages.cellFolderEncryptedImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "folderEncrypted"), width: 600, height: 600, color: NCBrandColor.sharedInstance.brandElement)
|
|
|
NCMainCommonImages.cellFolderSharedWithMeImage = CCGraphics.changeThemingColorImage(UIImage.init(named: "folder_shared_with_me"), width: 600, height: 600, color: NCBrandColor.sharedInstance.brandElement)
|
|
@@ -553,6 +555,11 @@ class NCMainCommon: NSObject, NCAudioRecorderViewControllerDelegate, UIDocumentI
|
|
|
if tableE2eEncryption != nil && NCUtility.sharedInstance.isEncryptedMetadata(metadata) {
|
|
|
cell.status.image = UIImage.init(named: "encrypted")
|
|
|
}
|
|
|
+
|
|
|
+ // Live Photo
|
|
|
+ if metadata.livePhoto && CCUtility.getLivePhoto() {
|
|
|
+ cell.status.image = NCMainCommonImages.cellLivePhotoImage
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//
|