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:
authorMarino Faggiana <marino@marinofaggiana.com>2022-09-30 13:49:11 +0300
committerMarino Faggiana <marino@marinofaggiana.com>2022-09-30 13:49:11 +0300
commit02a2962788550abf8fe162c4313461e4544f3c8d (patch)
tree52a7fc5722d50b64538d7c6e9c095deca73c5d4f
parent5f4426bde64b4cb32b2d4adffee3848341863c03 (diff)
iPAD PDF landscape mode iOS 16
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
-rw-r--r--iOSClient/Main/Collection Common/NCCollectionViewCommon.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift
index 1539b5a43..b93809c31 100644
--- a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift
+++ b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift
@@ -212,6 +212,11 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
if !appDelegate.isSearchingMode {
reloadDataSourceNetwork()
}
+
+ //FIXME: iPAD PDF landscape mode iOS 16
+ DispatchQueue.main.async {
+ self.collectionView?.collectionViewLayout.invalidateLayout()
+ }
}
override func viewDidAppear(_ animated: Bool) {