|
@@ -123,7 +123,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
|
|
|
collectionView.register(UINib(nibName: "NCSectionFooter", bundle: nil), forSupplementaryViewOfKind: UICollectionView.elementKindSectionFooter, withReuseIdentifier: "sectionFooter")
|
|
|
|
|
|
// Refresh Control
|
|
|
- collectionView.addSubview(refreshControl)
|
|
|
+ collectionView.refreshControl = refreshControl
|
|
|
refreshControl.action(for: .valueChanged) { _ in
|
|
|
self.dataSource.clearDirectory()
|
|
|
self.reloadDataSourceNetwork(forced: true)
|