Fix items not showing context menus

This commit is contained in:
Shadowfacts 2022-01-21 22:25:49 -05:00
parent d5664b0476
commit 984b94bed9
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class ItemsViewController: UIViewController {
configuration.backgroundColor = .clear
let layout = UICollectionViewCompositionalLayout.list(using: configuration)
collectionView = UICollectionView(frame: view.bounds, collectionViewLayout: layout)
collectionView.delegate = self
collectionView.translatesAutoresizingMaskIntoConstraints = false
view.addSubview(collectionView)