diff options
author | marinofaggiana <ios@nextcloud.com> | 2022-08-05 12:44:10 +0300 |
---|---|---|
committer | marinofaggiana <ios@nextcloud.com> | 2022-08-05 12:44:10 +0300 |
commit | 58aef87135f00c64cda432a2bd2aefde80424a0a (patch) | |
tree | c18ef71a47f77371c96a94511e9045bd6c09e94f | |
parent | 3333f1dd66d7a60aab29462a10f9c7762db38c97 (diff) |
fix code
Signed-off-by: marinofaggiana <ios@nextcloud.com>
-rw-r--r-- | iOSClient/Main/Collection Common/NCCollectionViewCommon.swift | 6 | ||||
-rw-r--r-- | iOSClient/NCGlobal.swift | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift index c76d90dcc..ff6fce011 100644 --- a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift +++ b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift @@ -263,10 +263,8 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) - //coordinator.animate(alongsideTransition: nil) { _ in - self.collectionView?.collectionViewLayout.invalidateLayout() - self.collectionView?.reloadData() - //} + self.collectionView?.collectionViewLayout.invalidateLayout() + self.collectionView?.reloadData() } override var canBecomeFirstResponder: Bool { diff --git a/iOSClient/NCGlobal.swift b/iOSClient/NCGlobal.swift index 168f7cb6e..d7a3272ec 100644 --- a/iOSClient/NCGlobal.swift +++ b/iOSClient/NCGlobal.swift @@ -98,6 +98,7 @@ class NCGlobal: NSObject { let processingTask = "com.nextcloud.processingTask" // Name + // @objc let appName = "files" // Nextcloud version |