Skip to content

Commit b960fe9

Browse files
NMC 2172 - Theming changes for NMC
1 parent 83d25dd commit b960fe9

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

iOSClient/Files/NCFiles.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class NCFiles: NCCollectionViewCommon {
4141
headerMenuButtonsView = true
4242
headerRichWorkspaceDisable = false
4343
headerMenuTransferView = true
44-
emptyImage = UIImage(named: "folder")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
44+
emptyImage = UIImage(named: "folder")
4545
emptyTitle = "_files_no_files_"
4646
emptyDescription = "_no_file_pull_down_"
4747
}

iOSClient/Groupfolders/NCGroupfolders.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class NCGroupfolders: NCCollectionViewCommon {
3636
enableSearchBar = false
3737
headerMenuButtonsView = true
3838
headerRichWorkspaceDisable = true
39-
emptyImage = UIImage(named: "folder_group")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
39+
emptyImage = UIImage(named: "folder_group")
4040
emptyTitle = "_files_no_files_"
4141
emptyDescription = "_tutorial_groupfolders_view_"
4242
}

iOSClient/Offline/NCOffline.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class NCOffline: NCCollectionViewCommon {
3636
enableSearchBar = false
3737
headerMenuButtonsView = true
3838
headerRichWorkspaceDisable = true
39-
emptyImage = UIImage(named: "folder")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
39+
emptyImage = UIImage(named: "folder")
4040
emptyTitle = "_files_no_files_"
4141
emptyDescription = "_tutorial_offline_view_"
4242
}

iOSClient/Viewer/NCViewerProviderContextMenu.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class NCViewerProviderContextMenu: UIViewController {
5151

5252
if metadata.directory {
5353

54-
var imageFolder = UIImage(named: "folder")!.image(color: NCBrandColor.shared.brandElement, size: sizeIcon * 2)
54+
var imageFolder = UIImage(named: "folder")!
5555

5656
if let image = self.image {
57-
imageFolder = image.image(color: NCBrandColor.shared.brandElement, size: sizeIcon * 2)
57+
imageFolder = image
5858
}
5959

6060
imageView.image = imageFolder.colorizeFolder(metadata: metadata)

0 commit comments

Comments
 (0)