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 <ios@nextcloud.com>2022-08-05 12:44:10 +0300
committermarinofaggiana <ios@nextcloud.com>2022-08-05 12:44:10 +0300
commit58aef87135f00c64cda432a2bd2aefde80424a0a (patch)
treec18ef71a47f77371c96a94511e9045bd6c09e94f /iOSClient
parent3333f1dd66d7a60aab29462a10f9c7762db38c97 (diff)
fix code
Signed-off-by: marinofaggiana <ios@nextcloud.com>
Diffstat (limited to 'iOSClient')
-rw-r--r--iOSClient/Main/Collection Common/NCCollectionViewCommon.swift6
-rw-r--r--iOSClient/NCGlobal.swift1
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