File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,22 +30,6 @@ import NextcloudKit
3030extension 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
You can’t perform that action at this time.
0 commit comments