Просмотр исходного кода

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 лет назад
Родитель
Сommit
ff030466c2
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

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

@@ -182,7 +182,9 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
     override func viewDidAppear(_ animated: Bool) {
         super.viewDidAppear(animated)
 
-        reloadDataSourceNetwork()
+        if !isSearching {
+            reloadDataSourceNetwork()
+        }
     }
 
     override func viewWillDisappear(_ animated: Bool) {