marinofaggiana 4 years ago
parent
commit
db472f58a2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      iOSClient/Main/NCCollectionViewCommon.swift

+ 4 - 0
iOSClient/Main/NCCollectionViewCommon.swift

@@ -1274,6 +1274,8 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
             isMounted = metadata.permissions.contains(k_permission_mounted) && !metadataFolder!.permissions.contains(k_permission_mounted)
         }
         
+        // LAYOUT LIST
+        
         if layout == k_layout_list {
             
             let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "listCell", for: indexPath) as! NCListCell
@@ -1464,6 +1466,8 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
             return cell
         }
         
+        // LAYOUT GRID
+        
         if layout == k_layout_grid {
             
             let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "gridCell", for: indexPath) as! NCGridCell