|
@@ -265,8 +265,9 @@ extension NCActivity: UITableViewDataSource {
|
|
let fileNameLocalPath = CCUtility.getDirectoryUserData() + "/" + fileNameIcon
|
|
let fileNameLocalPath = CCUtility.getDirectoryUserData() + "/" + fileNameIcon
|
|
|
|
|
|
if FileManager.default.fileExists(atPath: fileNameLocalPath) {
|
|
if FileManager.default.fileExists(atPath: fileNameLocalPath) {
|
|
- let image = NCUtility.shared.loadImage(named: fileNameIcon, color: NCBrandColor.shared.gray)
|
|
|
|
- cell.icon.image = image
|
|
|
|
|
|
+ if let image = UIImage(contentsOfFile: fileNameLocalPath) {
|
|
|
|
+ cell.icon.image = image
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
NCCommunication.shared.downloadContent(serverUrl: activity.icon) { _, data, errorCode, _ in
|
|
NCCommunication.shared.downloadContent(serverUrl: activity.icon) { _, data, errorCode, _ in
|
|
if errorCode == 0 {
|
|
if errorCode == 0 {
|