|
@@ -27,13 +27,14 @@ class NCRenameFile: UIViewController {
|
|
|
super.viewDidLoad()
|
|
|
|
|
|
if let metadata = self.metadata {
|
|
|
-
|
|
|
+
|
|
|
+ fileNameWithoutExt.text = metadata.fileNameWithoutExt
|
|
|
+ ext.text = metadata.ext
|
|
|
+
|
|
|
if metadata.directory {
|
|
|
|
|
|
previewFile.image = NCCollectionCommon.images.cellFolderImage
|
|
|
|
|
|
- fileNameWithoutExt.text = metadata.fileName
|
|
|
-
|
|
|
ext.isHidden = true
|
|
|
point.isHidden = true
|
|
|
fileNameWithoutExtTrailingContraint.constant = 20
|
|
@@ -49,11 +50,8 @@ class NCRenameFile: UIViewController {
|
|
|
previewFile.image = NCCollectionCommon.images.cellFileImage
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- fileNameWithoutExt.text = metadata.fileNameWithoutExt
|
|
|
- ext.text = metadata.ext
|
|
|
+
|
|
|
fileNameWithoutExtTrailingContraint.constant = 90
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|