File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,8 @@ extension NCTrashCellProtocol where Self: UICollectionViewCell {
5757 self . imageItem. image = image
5858 self . labelInfo? . text = ( self . labelInfo? . text ?? " " ) + " · " + NCUtilityFileSystem( ) . transformedSize ( tableTrash. size)
5959 }
60- let nsName = tableTrash. trashbinFileName as NSString
61- let ext = nsName. pathExtension
62- let base = nsName. deletingPathExtension
63- let a11yName = ( tableTrash. directory || ext. isEmpty || base. isEmpty) ? tableTrash. trashbinFileName : base + " . " + ext
64- self . accessibilityLabel = a11yName + " , " + ( self . labelInfo? . text ?? " " )
60+
61+ self . accessibilityLabel = tableTrash. trashbinFileName + " , " + ( self . labelInfo? . text ?? " " )
6562
6663 if self is NCTrashGridCell {
6764 if labelExtension? . isHidden ?? true {
You can’t perform that action at this time.
0 commit comments