marinofaggiana vor 4 Jahren
Ursprung
Commit
51242a5f41
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      iOSClient/Main/NCCollectionViewCommon.swift

+ 4 - 1
iOSClient/Main/NCCollectionViewCommon.swift

@@ -177,7 +177,10 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         }
         
         setNavigationItem()
-        reloadDataSource()
+        
+        if dataSource.metadatas.count == 0 {
+            reloadDataSource()
+        } 
     }
         
     override func viewDidAppear(_ animated: Bool) {