浏览代码

Test

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父节点
当前提交
97fed58299
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

+ 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)
         }