|
@@ -157,7 +157,7 @@ extension NCCollectionViewCommon {
|
|
actions.append(
|
|
actions.append(
|
|
NCMenuAction(
|
|
NCMenuAction(
|
|
title: NSLocalizedString("_open_in_", comment: ""),
|
|
title: NSLocalizedString("_open_in_", comment: ""),
|
|
- icon: UIImage(named: "openFile")!.image(color: NCBrandColor.shared.icon, size: 50),
|
|
|
|
|
|
+ icon: NCCollectionCommon.shared.loadImage(named: "square.and.arrow.up"),
|
|
action: { menuAction in
|
|
action: { menuAction in
|
|
NCNetworkingNotificationCenter.shared.downloadOpen(metadata: metadata, selector: NCGlobal.shared.selectorOpenIn)
|
|
NCNetworkingNotificationCenter.shared.downloadOpen(metadata: metadata, selector: NCGlobal.shared.selectorOpenIn)
|
|
}
|
|
}
|
|
@@ -189,7 +189,7 @@ extension NCCollectionViewCommon {
|
|
//
|
|
//
|
|
if metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.typeFile == NCGlobal.shared.metadataTypeFileVideo {
|
|
if metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.typeFile == NCGlobal.shared.metadataTypeFileVideo {
|
|
var title: String = NSLocalizedString("_save_selected_files_", comment: "")
|
|
var title: String = NSLocalizedString("_save_selected_files_", comment: "")
|
|
- var icon = UIImage(named: "saveSelectedFiles")!.image(color: NCBrandColor.shared.icon, size: 50)
|
|
|
|
|
|
+ var icon = NCCollectionCommon.shared.loadImage(named: "square.and.arrow.down")
|
|
let metadataMOV = NCManageDatabase.shared.getMetadataLivePhoto(metadata: metadata)
|
|
let metadataMOV = NCManageDatabase.shared.getMetadataLivePhoto(metadata: metadata)
|
|
if metadataMOV != nil {
|
|
if metadataMOV != nil {
|
|
title = NSLocalizedString("_livephoto_save_", comment: "")
|
|
title = NSLocalizedString("_livephoto_save_", comment: "")
|
|
@@ -261,7 +261,7 @@ extension NCCollectionViewCommon {
|
|
actions.append(
|
|
actions.append(
|
|
NCMenuAction(
|
|
NCMenuAction(
|
|
title: NSLocalizedString("_copy_file_", comment: ""),
|
|
title: NSLocalizedString("_copy_file_", comment: ""),
|
|
- icon: UIImage(named: "copy")!.image(color: NCBrandColor.shared.icon, size: 50),
|
|
|
|
|
|
+ icon: NCCollectionCommon.shared.loadImage(named: "doc.on.doc"),
|
|
action: { menuAction in
|
|
action: { menuAction in
|
|
self.appDelegate.pasteboardOcIds = [metadata.ocId];
|
|
self.appDelegate.pasteboardOcIds = [metadata.ocId];
|
|
NCCollectionCommon.shared.copyPasteboard()
|
|
NCCollectionCommon.shared.copyPasteboard()
|
|
@@ -391,7 +391,7 @@ extension NCCollectionViewCommon {
|
|
actions.append(
|
|
actions.append(
|
|
NCMenuAction(
|
|
NCMenuAction(
|
|
title: NSLocalizedString("_save_selected_files_", comment: ""),
|
|
title: NSLocalizedString("_save_selected_files_", comment: ""),
|
|
- icon: UIImage(named: "saveSelectedFiles")!.image(color: NCBrandColor.shared.icon, size: 50),
|
|
|
|
|
|
+ icon: NCCollectionCommon.shared.loadImage(named: "square.and.arrow.down"),
|
|
action: { menuAction in
|
|
action: { menuAction in
|
|
for ocId in selectOcId {
|
|
for ocId in selectOcId {
|
|
if let metadata = NCManageDatabase.shared.getMetadataFromOcId(ocId) {
|
|
if let metadata = NCManageDatabase.shared.getMetadataFromOcId(ocId) {
|
|
@@ -441,7 +441,7 @@ extension NCCollectionViewCommon {
|
|
actions.append(
|
|
actions.append(
|
|
NCMenuAction(
|
|
NCMenuAction(
|
|
title: NSLocalizedString("_copy_file_", comment: ""),
|
|
title: NSLocalizedString("_copy_file_", comment: ""),
|
|
- icon: UIImage(named: "copy")!.image(color: NCBrandColor.shared.icon, size: 50),
|
|
|
|
|
|
+ icon: NCCollectionCommon.shared.loadImage(named: "doc.on.doc"),
|
|
action: { menuAction in
|
|
action: { menuAction in
|
|
self.appDelegate.pasteboardOcIds.removeAll()
|
|
self.appDelegate.pasteboardOcIds.removeAll()
|
|
for ocId in selectOcId {
|
|
for ocId in selectOcId {
|