Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Share/NCShareCell.swift')
-rw-r--r--Share/NCShareCell.swift8
1 files changed, 4 insertions, 4 deletions
diff --git a/Share/NCShareCell.swift b/Share/NCShareCell.swift
index 15e1504ab..a17118946 100644
--- a/Share/NCShareCell.swift
+++ b/Share/NCShareCell.swift
@@ -22,7 +22,7 @@
//
import UIKit
-import NCCommunication
+import NextcloudKit
protocol NCShareCellDelegate: AnyObject {
var uploadStarted: Bool { get }
@@ -40,9 +40,9 @@ class NCShareCell: UITableViewCell {
func setup(fileName: String) {
self.fileName = fileName
- let resultInternalType = NCCommunicationCommon.shared.getInternalType(fileName: fileName, mimeType: "", directory: false)
+ let resultInternalType = NKCommon.shared.getInternalType(fileName: fileName, mimeType: "", directory: false)
- backgroundColor = NCBrandColor.shared.systemBackground
+ backgroundColor = .systemBackground
imageCell?.layer.cornerRadius = 6
imageCell?.layer.masksToBounds = true
@@ -61,7 +61,7 @@ class NCShareCell: UITableViewCell {
let fileSize = NCUtilityFileSystem.shared.getFileSize(filePath: (NSTemporaryDirectory() + fileName))
sizeCell?.text = CCUtility.transformedSize(fileSize)
- moreButton?.setImage(NCUtility.shared.loadImage(named: "more").image(color: NCBrandColor.shared.label, size: 15), for: .normal)
+ moreButton?.setImage(NCUtility.shared.loadImage(named: "more").image(color: .label, size: 15), for: .normal)
}
@IBAction func buttonTapped(_ sender: Any) {