Skip to content

Commit c014104

Browse files
NMC 2172 - Dashboard theming customisation changes
1 parent 7e5af05 commit c014104

14 files changed

Lines changed: 1385 additions & 2132 deletions

iOSClient/Favorites/NCFavorite.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class NCFavorite: NCCollectionViewCommon {
1212
titleCurrentFolder = NSLocalizedString("_favorites_", comment: "")
1313
layoutKey = NCGlobal.shared.layoutViewFavorite
1414
enableSearchBar = false
15-
headerMenuButtonsView = true
1615
headerRichWorkspaceDisable = true
1716
emptyImageName = "star.fill"
1817
emptyImageColors = [NCBrandColor.shared.yellowFavorite]

iOSClient/Files/NCFiles.swift

Lines changed: 231 additions & 178 deletions
Large diffs are not rendered by default.

iOSClient/Main/Collection Common/Cell/NCCellProtocol.swift

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ protocol NCCellProtocol {
3939
var fileSharedImage: UIImageView? { get set }
4040
var fileMoreImage: UIImageView? { get set }
4141
var cellSeparatorView: UIView? { get set }
42-
var fileSharedLabel: UILabel? { get set }
43-
var fileProgressView: UIProgressView? { get set }
4442

4543
func titleInfoTrailingDefault()
4644
func titleInfoTrailingFull()
4745
func writeInfoDateSize(date: NSDate, size: Int64)
48-
func setButtonMore(named: String, image: UIImage)
46+
func setButtonMore(image: UIImage)
4947
func hideImageItem(_ status: Bool)
5048
func hideImageFavorite(_ status: Bool)
5149
func hideImageStatus(_ status: Bool)
@@ -55,8 +53,6 @@ protocol NCCellProtocol {
5553
func hideLabelSubinfo(_ status: Bool)
5654
func hideButtonShare(_ status: Bool)
5755
func hideButtonMore(_ status: Bool)
58-
func selectMode(_ status: Bool)
59-
func selected(_ status: Bool)
6056
func selected(_ status: Bool, isEditMode: Bool)
6157
func setAccessibility(label: String, value: String)
6258
func setTags(tags: [String])
@@ -119,24 +115,11 @@ extension NCCellProtocol {
119115
get { return nil }
120116
set {}
121117
}
122-
var fileSharedLabel: UILabel? {
123-
get { return nil }
124-
set { }
125-
}
126118

127-
var fileProgressView: UIProgressView? {
128-
get { return nil }
129-
set {}
130-
}
131-
var fileSelectImage: UIImageView? {
132-
get { return nil }
133-
set {}
134-
}
135-
136119
func titleInfoTrailingDefault() {}
137120
func titleInfoTrailingFull() {}
138121
func writeInfoDateSize(date: NSDate, size: Int64) {}
139-
func setButtonMore(named: String, image: UIImage) {}
122+
func setButtonMore(image: UIImage) {}
140123
func hideImageItem(_ status: Bool) {}
141124
func hideImageFavorite(_ status: Bool) {}
142125
func hideImageStatus(_ status: Bool) {}
@@ -146,8 +129,6 @@ extension NCCellProtocol {
146129
func hideLabelSubinfo(_ status: Bool) {}
147130
func hideButtonShare(_ status: Bool) {}
148131
func hideButtonMore(_ status: Bool) {}
149-
func selectMode(_ status: Bool) {}
150-
func selected(_ status: Bool) {}
151132
func selected(_ status: Bool, isEditMode: Bool) {}
152133
func setAccessibility(label: String, value: String) {}
153134
func setTags(tags: [String]) {}

0 commit comments

Comments
 (0)