Browse Source

new icon folder_group

marinofaggiana 5 years ago
parent
commit
682bdd258d

+ 15 - 0
iOSClient/Images.xcassets/folder_group.imageset/Contents.json

@@ -0,0 +1,15 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "Untitled.pdf"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  },
+  "properties" : {
+    "preserves-vector-representation" : true
+  }
+}

BIN
iOSClient/Images.xcassets/folder_group.imageset/Untitled.pdf


+ 2 - 0
iOSClient/Main/NCMainCommon.swift

@@ -557,6 +557,8 @@ class NCMainCommon: NSObject, PhotoEditorDelegate, NCAudioRecorderViewController
                     image = UIImage.init(named: "folderEncrypted")
                 } else if metadata.fileName == autoUploadFileName && serverUrl == autoUploadDirectory {
                     image = UIImage.init(named: "folderAutomaticUpload")
+                } else if metadata.mountType == "group" {
+                    image = UIImage.init(named: "folder_group")
                 } else if isShare {
                     image = UIImage.init(named: "folder_shared_with_me")
                 } else if isMounted {