marinofaggiana 5 жил өмнө
parent
commit
34d4dac178

+ 2 - 0
iOSClient/Main/NCDetailViewController.swift

@@ -702,6 +702,8 @@ extension NCDetailViewController: NCViewerImageViewControllerDelegate, NCViewerI
         
         
         if hasMOV(metadata: metadata) != nil {
         if hasMOV(metadata: metadata) != nil {
             viewerImageViewController.statusView.image = CCGraphics.changeThemingColorImage(UIImage.init(named: "livePhoto"), width: 100, height: 100, color: NCBrandColor.sharedInstance.brand)
             viewerImageViewController.statusView.image = CCGraphics.changeThemingColorImage(UIImage.init(named: "livePhoto"), width: 100, height: 100, color: NCBrandColor.sharedInstance.brand)
+        } else if metadata.typeFile == k_metadataTypeFile_video || metadata.typeFile == k_metadataTypeFile_audio {
+            viewerImageViewController.statusView.image = CCGraphics.changeThemingColorImage(UIImage.init(named: "audioPlay"), width: 100, height: 100, color: NCBrandColor.sharedInstance.brand)
         } else {
         } else {
             viewerImageViewController.statusView.image = nil
             viewerImageViewController.statusView.image = nil
         }
         }