Skip to content

Commit

Permalink
NMC 2172 - Theming changes for NMC
Browse files Browse the repository at this point in the history
  • Loading branch information
TSI-amrutwaghmare committed Dec 26, 2023
1 parent 83d25dd commit b960fe9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion iOSClient/Files/NCFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class NCFiles: NCCollectionViewCommon {
headerMenuButtonsView = true
headerRichWorkspaceDisable = false
headerMenuTransferView = true
emptyImage = UIImage(named: "folder")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
emptyImage = UIImage(named: "folder")
emptyTitle = "_files_no_files_"
emptyDescription = "_no_file_pull_down_"
}
Expand Down
2 changes: 1 addition & 1 deletion iOSClient/Groupfolders/NCGroupfolders.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class NCGroupfolders: NCCollectionViewCommon {
enableSearchBar = false
headerMenuButtonsView = true
headerRichWorkspaceDisable = true
emptyImage = UIImage(named: "folder_group")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
emptyImage = UIImage(named: "folder_group")
emptyTitle = "_files_no_files_"
emptyDescription = "_tutorial_groupfolders_view_"
}
Expand Down
2 changes: 1 addition & 1 deletion iOSClient/Offline/NCOffline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class NCOffline: NCCollectionViewCommon {
enableSearchBar = false
headerMenuButtonsView = true
headerRichWorkspaceDisable = true
emptyImage = UIImage(named: "folder")?.image(color: NCBrandColor.shared.brandElement, size: UIScreen.main.bounds.width)
emptyImage = UIImage(named: "folder")
emptyTitle = "_files_no_files_"
emptyDescription = "_tutorial_offline_view_"
}
Expand Down
4 changes: 2 additions & 2 deletions iOSClient/Viewer/NCViewerProviderContextMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class NCViewerProviderContextMenu: UIViewController {

if metadata.directory {

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

if let image = self.image {
imageFolder = image.image(color: NCBrandColor.shared.brandElement, size: sizeIcon * 2)
imageFolder = image
}

imageView.image = imageFolder.colorizeFolder(metadata: metadata)
Expand Down

0 comments on commit b960fe9

Please sign in to comment.