 
         var rightBarButtonItems: [UIBarButtonItem] = []
         if user.hasSharingEnabled {
-            rightBarButtonItems.append(UIBarButtonItem(image: .Share, target: self, action: #selector(ProfileViewController.sharePostTapped)))
+            rightBarButtonItems.append(UIBarButtonItem(image: .Share, target: self, action: #selector(ProfileViewController.sharePostTapped(_:))))
         }
         rightBarButtonItems.append(UIBarButtonItem(image: .Dots, target: self, action: #selector(ProfileViewController.moreButtonTapped)))
         elloNavigationItem.rightBarButtonItems = rightBarButtonItems

        }
    }

    func sharePostTapped() {
        if let user = user,
            shareLink = user.shareLink,
            shareURL = NSURL(string: shareLink)

            }
            else {
                activityVC.modalPresentationStyle = .Popover
                activityVC.popoverPresentationController?.sourceView = sourceView
                logPresentingAlert(readableClassName() ?? "ProfileViewController")
                presentViewController(activityVC, animated: true) { }
            }
