|
@@ -624,7 +624,14 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
|
|
|
if layoutKey == NCGlobal.shared.layoutViewFiles {
|
|
|
|
|
|
- var image = NCUtility.shared.loadImage(named: "person.crop.circle")
|
|
|
+ var image: UIImage?
|
|
|
+
|
|
|
+ if #available(iOS 13.0, *) {
|
|
|
+ let config = UIImage.SymbolConfiguration(pointSize: 30)
|
|
|
+ image = NCUtility.shared.loadImage(named: "person.crop.circle", symbolConfiguration: config)
|
|
|
+ } else {
|
|
|
+ image = NCUtility.shared.loadImage(named: "person.crop.circle", size: 30)
|
|
|
+ }
|
|
|
|
|
|
let fileName = String(CCUtility.getUserUrlBase(appDelegate.user, urlBase: appDelegate.urlBase)) + "-" + self.appDelegate.user + "-original.png"
|
|
|
let fileNameLocalPath = String(CCUtility.getDirectoryUserData()) + "/" + fileName
|