|
|
@ -609,6 +609,10 @@ public class ShareViewController: UINavigationController, ShareViewDelegate, SAE
|
|
|
|
fulfill((itemUrl: url, utiType: srcUtiType))
|
|
|
|
fulfill((itemUrl: url, utiType: srcUtiType))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
// It's unavoidable that we may sometimes receives data types that we
|
|
|
|
|
|
|
|
// don't know how to handle.
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// See comments on NSItemProvider+OWS.h.
|
|
|
|
let unexpectedTypeError = ShareViewControllerError.assertionError(description: "unexpected value: \(String(describing: value))")
|
|
|
|
let unexpectedTypeError = ShareViewControllerError.assertionError(description: "unexpected value: \(String(describing: value))")
|
|
|
|
reject(unexpectedTypeError)
|
|
|
|
reject(unexpectedTypeError)
|
|
|
|
}
|
|
|
|
}
|
|
|
|