Unrevert D3518381
Reviewed By: gabelevi Differential Revision: D3522895 fbshipit-source-id: 52f28c7f3142566a07d8bc845be882aeda098809
This commit is contained in:
parent
f74c74f6c5
commit
5e06da91ad
|
@ -143,6 +143,7 @@ class CameraRoll {
|
|||
|
||||
invariant(
|
||||
type === 'photo' || type === 'video' || type === undefined,
|
||||
// $FlowFixMe(>=0.28.0)
|
||||
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue