Skip to content

Commit 9da6315

Browse files
TSI-shwetawaikarTSI-amrutwaghmare
authored andcommitted
NMC 2341 - Issue ( NMC 3257) Fixed.
1 parent 0a77d35 commit 9da6315

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

iOSClient/Menu/NCTrash+Menu.swift

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@ import NextcloudKit
3030
extension NCTrash {
3131
var selectActions: [NCMenuAction] {
3232
[
33-
NCMenuAction(
34-
title: NSLocalizedString("_cancel_", comment: ""),
35-
icon: utility.loadImage(named: "xmark"),
36-
action: { _ in
37-
self.tapSelect()
38-
}
39-
),
40-
NCMenuAction(
41-
title: NSLocalizedString("_select_all_", comment: ""),
42-
icon: utility.loadImage(named: "checkmark.circle.fill"),
43-
action: { _ in
44-
self.selectOcId = self.datasource.map { $0.fileId }
45-
self.collectionView.reloadData()
46-
}
47-
),
48-
NCMenuAction.seperator(),
4933
NCMenuAction(
5034
title: NSLocalizedString("_trash_restore_selected_", comment: ""),
5135
icon: utility.loadImage(named: "restore").image(color: NCBrandColor.shared.iconColor, size: 50),
@@ -125,9 +109,9 @@ extension NCTrash {
125109
iconHeader = icon
126110
} else {
127111
if tableTrash.directory {
128-
iconHeader = UIImage(named: "folder")
112+
iconHeader = UIImage(named: "folder")!.image(color: NCBrandColor.shared.iconColor, size: 50)
129113
} else {
130-
iconHeader = UIImage(named: tableTrash.iconName)
114+
iconHeader = UIImage(named: tableTrash.iconName)!.image(color: NCBrandColor.shared.iconColor, size: 50)
131115
}
132116
}
133117

0 commit comments

Comments
 (0)