Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ class PhotoLibraryViewController: UIViewController, UICollectionViewDelegate, UI
// MARK: UICollectionViewDelegate

func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
guard let cell = collectionView.cellForItem(at: indexPath) as? AssetPhotoLibraryViewCell,
let asset = cell.asset
else { return }

logger.log(EventFactory().editorPresentationEvent(for: .library))
photoEditorPresenter?.presentPhotoEditingViewController(for: asset, redactions: nil, animated: true)
}

// MARK: Photo Library Changes
Expand Down