Browse Source

Remove unused & duplicate icons

- use SF Symbol names where possible
- "edit" = "pencil"
- "closeVideo" = "xmark"
- "tabBarFavorites" = "star.fill"
- "tabBarMedia" = "media"
- "visiblePassword" = "eye"
- "userStatusOnline" = "circle_fill"
- photoEditor icons are unused

Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
Henrik Storch 3 years ago
parent
commit
adf7e34f7e
40 changed files with 3 additions and 239 deletions
  1. 0 15
      iOSClient/Images.xcassets/closeVideo.imageset/Contents.json
  2. BIN
      iOSClient/Images.xcassets/closeVideo.imageset/closeVideo.pdf
  3. 0 15
      iOSClient/Images.xcassets/edit.imageset/Contents.json
  4. BIN
      iOSClient/Images.xcassets/edit.imageset/edit.pdf
  5. 0 23
      iOSClient/Images.xcassets/photoEditorCancel.imageset/Contents.json
  6. BIN
      iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel.png
  7. BIN
      iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel@2x.png
  8. BIN
      iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel@3x.png
  9. 0 23
      iOSClient/Images.xcassets/photoEditorClear.imageset/Contents.json
  10. BIN
      iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear.png
  11. BIN
      iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear@2x.png
  12. BIN
      iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear@3x.png
  13. 0 23
      iOSClient/Images.xcassets/photoEditorCrop.imageset/Contents.json
  14. BIN
      iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop.png
  15. BIN
      iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop@2x.png
  16. BIN
      iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop@3x.png
  17. 0 23
      iOSClient/Images.xcassets/photoEditorDone.imageset/Contents.json
  18. BIN
      iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone.png
  19. BIN
      iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone@2x.png
  20. BIN
      iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone@3x.png
  21. 0 23
      iOSClient/Images.xcassets/photoEditorDraw.imageset/Contents.json
  22. BIN
      iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw.png
  23. BIN
      iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw@2x.png
  24. BIN
      iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw@3x.png
  25. 0 23
      iOSClient/Images.xcassets/photoEditorText.imageset/Contents.json
  26. BIN
      iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText.png
  27. BIN
      iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText@2x.png
  28. BIN
      iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText@3x.png
  29. 0 15
      iOSClient/Images.xcassets/tabBarFavorites.imageset/Contents.json
  30. BIN
      iOSClient/Images.xcassets/tabBarFavorites.imageset/tabBarFavorites.pdf
  31. 0 15
      iOSClient/Images.xcassets/tabBarMedia.imageset/Contents.json
  32. BIN
      iOSClient/Images.xcassets/tabBarMedia.imageset/tabBarMedia.pdf
  33. 0 15
      iOSClient/Images.xcassets/userStatusOnline.imageset/Contents.json
  34. BIN
      iOSClient/Images.xcassets/userStatusOnline.imageset/online.pdf
  35. 0 23
      iOSClient/Images.xcassets/visiblePassword.imageset/Contents.json
  36. BIN
      iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword.png
  37. BIN
      iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword@2x.png
  38. BIN
      iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword@3x.png
  39. 2 2
      iOSClient/Main/NCMainTabBar.swift
  40. 1 1
      iOSClient/Utility/NCUtility.swift

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

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

BIN
iOSClient/Images.xcassets/closeVideo.imageset/closeVideo.pdf


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

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

BIN
iOSClient/Images.xcassets/edit.imageset/edit.pdf


+ 0 - 23
iOSClient/Images.xcassets/photoEditorCancel.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCancel.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCancel@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCancel@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel.png


BIN
iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel@2x.png


BIN
iOSClient/Images.xcassets/photoEditorCancel.imageset/photoEditorCancel@3x.png


+ 0 - 23
iOSClient/Images.xcassets/photoEditorClear.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorClear.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorClear@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorClear@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear.png


BIN
iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear@2x.png


BIN
iOSClient/Images.xcassets/photoEditorClear.imageset/photoEditorClear@3x.png


+ 0 - 23
iOSClient/Images.xcassets/photoEditorCrop.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCrop.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCrop@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorCrop@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop.png


BIN
iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop@2x.png


BIN
iOSClient/Images.xcassets/photoEditorCrop.imageset/photoEditorCrop@3x.png


+ 0 - 23
iOSClient/Images.xcassets/photoEditorDone.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDone.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDone@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDone@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone.png


BIN
iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone@2x.png


BIN
iOSClient/Images.xcassets/photoEditorDone.imageset/photoEditorDone@3x.png


+ 0 - 23
iOSClient/Images.xcassets/photoEditorDraw.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDraw.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDraw@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorDraw@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw.png


BIN
iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw@2x.png


BIN
iOSClient/Images.xcassets/photoEditorDraw.imageset/photoEditorDraw@3x.png


+ 0 - 23
iOSClient/Images.xcassets/photoEditorText.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorText.png",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorText@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "photoEditorText@3x.png",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText.png


BIN
iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText@2x.png


BIN
iOSClient/Images.xcassets/photoEditorText.imageset/photoEditorText@3x.png


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

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

BIN
iOSClient/Images.xcassets/tabBarFavorites.imageset/tabBarFavorites.pdf


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

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

BIN
iOSClient/Images.xcassets/tabBarMedia.imageset/tabBarMedia.pdf


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

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

BIN
iOSClient/Images.xcassets/userStatusOnline.imageset/online.pdf


+ 0 - 23
iOSClient/Images.xcassets/visiblePassword.imageset/Contents.json

@@ -1,23 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x",
-      "filename" : "visiblePassword.png"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "visiblePassword@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x",
-      "filename" : "visiblePassword@3x.png"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword.png


BIN
iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword@2x.png


BIN
iOSClient/Images.xcassets/visiblePassword.imageset/visiblePassword@3x.png


+ 2 - 2
iOSClient/Main/NCMainTabBar.swift

@@ -144,7 +144,7 @@ class NCMainTabBar: UITabBar {
         // Favorite
         if let item = items?[1] {
             item.title = NSLocalizedString("_favorites_", comment: "")
-            item.image = UIImage(named: "tabBarFavorites")?.image(color: NCBrandColor.shared.brandElement, size: 25)
+            item.image = UIImage(named: "star.fill")?.image(color: NCBrandColor.shared.brandElement, size: 25)
             item.selectedImage = item.image
         }
 
@@ -158,7 +158,7 @@ class NCMainTabBar: UITabBar {
         // Media
         if let item = items?[3] {
             item.title = NSLocalizedString("_media_", comment: "")
-            item.image = UIImage(named: "tabBarMedia")?.image(color: NCBrandColor.shared.brandElement, size: 25)
+            item.image = UIImage(named: "media")?.image(color: NCBrandColor.shared.brandElement, size: 25)
             item.selectedImage = item.image
         }
 

+ 1 - 1
iOSClient/Utility/NCUtility.swift

@@ -353,7 +353,7 @@ class NCUtility: NSObject {
         var messageUserDefined: String = ""
 
         if userStatus?.lowercased() == "online" {
-            onlineStatus = UIImage(named: "userStatusOnline")!.image(color: UIColor(red: 103.0/255.0, green: 176.0/255.0, blue: 134.0/255.0, alpha: 1.0), size: 50)
+            onlineStatus = UIImage(named: "circle_fill")!.image(color: UIColor(red: 103.0/255.0, green: 176.0/255.0, blue: 134.0/255.0, alpha: 1.0), size: 50)
             messageUserDefined = NSLocalizedString("_online_", comment: "")
         }
         if userStatus?.lowercased() == "away" {