                             
                             module.onFinish = { result in
                                 weakModule?.dismissModule()
-//
-//                                switch result {
-//                                case .selectedItems(let items):
-//                                    self?.interactor.setPhotoLibraryItems(items)
-//                                case .cancelled:
-//                                    break
-//                                }
                             }
                     })
                 }

        )
    }
}

        
        view?.onContinueButtonTap = { [weak self] in
            if let strongSelf = self {
                guard let strongSelf = self else { return }
                let selectedItems = strongSelf.interactor.selectedItems
                let data = strongSelf.interactor.mediaPickerData.dataBySettingPhotoLibraryItems(
                    selectedItems
                )
                self?.router.showMediaPicker(
                    data: data,
                    overridenTheme: strongSelf.overridenTheme,
                    configure: { module in
                        weak var weakModule = module
                        module.onCancel = {
                            weakModule?.dismissModule()
                        }
                        
                        module.onFinish = { result in
                            weakModule?.dismissModule()
                        }
                })
            }
        }
        
