marinofaggiana 4 жил өмнө
parent
commit
32c95cfdb2

+ 2 - 2
iOSClient/Media/NCMedia.swift

@@ -272,7 +272,7 @@ class NCMedia: UIViewController, DropdownMenuDelegate, DZNEmptyDataSetSource, DZ
             actions.append(
             actions.append(
                 NCMenuAction(
                 NCMenuAction(
                     title: NSLocalizedString("_media_by_created_date_", comment: ""),
                     title: NSLocalizedString("_media_by_created_date_", comment: ""),
-                    icon: UIImage(named: "nothing")!,
+                    icon: CCGraphics.changeThemingColorImage(UIImage(named: "MenuOrdeyByDate"), width: 50, height: 50, color: NCBrandColor.sharedInstance.icon),
                     selected: CCUtility.getMediaSortDate() == "creationDate",
                     selected: CCUtility.getMediaSortDate() == "creationDate",
                     on: true,
                     on: true,
                     action: { menuAction in
                     action: { menuAction in
@@ -285,7 +285,7 @@ class NCMedia: UIViewController, DropdownMenuDelegate, DZNEmptyDataSetSource, DZ
             actions.append(
             actions.append(
                 NCMenuAction(
                 NCMenuAction(
                     title: NSLocalizedString("_media_by_upload_date_", comment: ""),
                     title: NSLocalizedString("_media_by_upload_date_", comment: ""),
-                    icon: UIImage(named: "nothing")!,
+                    icon: CCGraphics.changeThemingColorImage(UIImage(named: "MenuOrdeyByDate"), width: 50, height: 50, color: NCBrandColor.sharedInstance.icon),
                     selected: CCUtility.getMediaSortDate() == "uploadDate",
                     selected: CCUtility.getMediaSortDate() == "uploadDate",
                     on: true,
                     on: true,
                     action: { menuAction in
                     action: { menuAction in