                 })
             }
         } else {
+            self.onPhotoCellPressed?()
             if self.photoLibraryAuthorizationStatus != .authorized {
                 self.delegate?.inputViewDidRequestPhotoLibraryPermission(self)
             } else {

extension PhotosInputView: UICollectionViewDelegateFlowLayout {
    public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
        if indexPath.item == Constants.liveCameraItemIndex {
            if self.cameraAuthorizationStatus != .authorized {
                self.delegate?.inputViewDidRequestCameraPermission(self)
            } else {


public final class PhotosInputView: UIView, PhotosInputViewProtocol {

    public typealias LiveCameraCellPressedAction = () -> Void
    public typealias PhotoCellPressedAction = () -> Void

    fileprivate struct Constants {
        static let liveCameraItemIndex = 0
    }
