diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-10-02 12:21:45 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-10-02 12:21:45 +0300 |
commit | 51242a5f4102842dec281f6169303b5b4f8ee449 (patch) | |
tree | 5472c2b991f04d17c27c4309b720ba877bfa528a /iOSClient | |
parent | 146b10017e888f4e9a9b6b397dd83ee56e78355b (diff) |
coding
Diffstat (limited to 'iOSClient')
-rw-r--r-- | iOSClient/Main/NCCollectionViewCommon.swift | 5 |
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) { |