 
             }
         } else {
-            self.sharingCompleted?((success: false, sharingService: shareNetwork.activityType))
+            self.sharingCompleted?((success: false, sharingService: destination.activityType))
         }
     }
 

                self.share(mailParameters: parameters)

            case .twitter(let parameters):
                self.share(socialParameters: parameters, network: shareNetwork.network)

            case .facebook(let parameters):
                self.share(socialParameters: parameters, network: shareNetwork.network)

            case .sinaWeibo(let parameters):
                self.share(socialParameters: parameters, network: shareNetwork.network)

            case .tencentWeibo(let parameters):
                self.share(socialParameters: parameters, network: shareNetwork.network)

            case .pasteboard(let parameters):
                self.share(pasteboardParmaeters: parameters)


public extension UIViewController {

    func share(destination: ShareDestination) {
        if destination.canShare {
            switch destination {

            case .text(let parameters):
                self.share(textParameters: parameters)
