Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <marino@marinofaggiana.com>2020-10-02 12:21:45 +0300
committermarinofaggiana <marino@marinofaggiana.com>2020-10-02 12:21:45 +0300
commit51242a5f4102842dec281f6169303b5b4f8ee449 (patch)
tree5472c2b991f04d17c27c4309b720ba877bfa528a /iOSClient
parent146b10017e888f4e9a9b6b397dd83ee56e78355b (diff)
coding
Diffstat (limited to 'iOSClient')
-rw-r--r--iOSClient/Main/NCCollectionViewCommon.swift5
1 files changed, 4 insertions, 1 deletions
diff --git a/iOSClient/Main/NCCollectionViewCommon.swift b/iOSClient/Main/NCCollectionViewCommon.swift
index 2a48de8ff..208246085 100644
--- a/iOSClient/Main/NCCollectionViewCommon.swift
+++ b/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) {