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 19:35:37 +0300
committerMarino Faggiana <marino@marinofaggiana.com>2022-09-30 19:35:37 +0300
commit7d607cacb5cc7cbb007a590d59034f9d4c51c111 (patch)
tree8971b425e41844aa898e8f24faede9a394adf71d
parentca3b8a4480d8062313ba65a37e7ba6f01640d96b (diff)
Improved media
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
-rw-r--r--iOSClient/Media/NCMedia.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/iOSClient/Media/NCMedia.swift b/iOSClient/Media/NCMedia.swift
index d32091bcb..efdf5a0f3 100644
--- a/iOSClient/Media/NCMedia.swift
+++ b/iOSClient/Media/NCMedia.swift
@@ -146,9 +146,7 @@ class NCMedia: UIViewController, NCEmptyDataSetDelegate, NCSelectDelegate {
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
super.viewWillTransition(to: size, with: coordinator)
- coordinator.animate(alongsideTransition: nil) { _ in
- self.reloadDataThenPerform { }
- }
+ self.collectionView?.collectionViewLayout.invalidateLayout()
}
override var preferredStatusBarStyle: UIStatusBarStyle {