Browse Source

Test

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 năm trước cách đây
mục cha
commit
97fed58299

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

@@ -118,6 +118,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         // Refresh Control
         collectionView.addSubview(refreshControl)
         refreshControl.action(for: .valueChanged) { _ in
+            self.dataSource.clearDataSource()
             self.reloadDataSourceNetwork(forced: true)
         }