         choosePhotoButton.title = NSLocalizedString("Choose photo", comment: "")
         choosePhotoButton.tapAction = { [weak self] in
 
-            let openCameraRoll: () -> Void = { [weak self] in
+            let openCameraRoll: ProposerAction = { [weak self] in
                 if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.PhotoLibrary){
                     let imagePicker = UIImagePickerController()
                     imagePicker.delegate = self

                }
            }

            AVCaptureDevice.requestAccessForMediaType(AVMediaTypeVideo) { granted in
                if granted {
                    openCamera()

                } else {
                    self?.alertCanNotOpenCamera()
                }
            }
        }

        addLocationButton.title = NSLocalizedString("Share location", comment: "")

import AVFoundation
import MobileCoreServices
import MapKit
import Proposer

struct MessageNotification {
    static let MessageStateChanged = "MessageStateChangedNotification"
