                 self.sharedItem = item
                 
                 if self.profile == nil {
-                    let loginViewController = LoginViewController()
-                    loginViewController.delegate = self
-                    self.pushViewController(loginViewController, animated: false)
+                    // XXX todo.
                 } else {
                     let clientPickerViewController = ClientPickerViewController()
                     clientPickerViewController.clientPickerDelegate = self

    func clientPickerViewControllerDidCancel(clientPickerViewController: ClientPickerViewController) {
        finish()
    }
    
    func loginViewControllerDidCancel(loginViewController: LoginViewController) {
        finish()
    }
}

*/

@objc(ActionViewController)
class ActionViewController: UINavigationController, ClientPickerViewControllerDelegate
{
    var profile: Profile?
    var sharedItem: ShareItem?
