Browse Source

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
9cecc36de7

+ 2 - 0
iOSClient/Data/NCDataSource.swift

@@ -376,6 +376,8 @@ class NCDataSource: NSObject {
     }
 }
 
+// MARK: -
+
 class NCMetadataForSection: NSObject {
 
     var sectionValue: String

+ 1 - 0
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -823,6 +823,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
             layoutForView?.layout = NCGlobal.shared.layoutGrid
             NCUtility.shared.setLayoutForView(key: layoutKey, serverUrl: serverUrl, layout: layoutForView?.layout)
         }
+        
         reloadDataSource()
     }
 

+ 1 - 1
iOSClient/Select/NCSelect.swift

@@ -299,7 +299,7 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, UIAdaptivePresent
             NCUtility.shared.setLayoutForView(key: layoutKey, serverUrl: serverUrl, layout: layoutForView?.layout)
         }
 
-        self.reloadDataSource()
+        reloadDataSource()
     }
 
     func tapButtonOrder(_ sender: Any) {

+ 2 - 0
iOSClient/Trash/NCTrash.swift

@@ -157,6 +157,8 @@ class NCTrash: UIViewController, NCSelectableNavigationView, NCTrashListCellDele
             layoutForView?.layout = NCGlobal.shared.layoutGrid
             NCUtility.shared.setLayoutForView(key: NCGlobal.shared.layoutViewTrash, serverUrl: "", layout: layoutForView?.layout)
         }
+
+        reloadDataSource()
     }
 
     func tapButtonOrder(_ sender: Any) {