@@ -137,7 +137,7 @@ class NCOffline: UIViewController, UIGestureRecognizerDelegate, NCListCellDelega
super.viewWillTransition(to: size, with: coordinator)
coordinator.animate(alongsideTransition: nil) { _ in
- self.collectionView.collectionViewLayout.invalidateLayout()
+ self.collectionView?.collectionViewLayout.invalidateLayout()
}
@@ -196,7 +196,7 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, NCListCellDelegat
@@ -115,7 +115,7 @@ class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDel