mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-02-17 12:06:40 +00:00
Reverted commit D3518381
Reviewed By: gabelevi Differential Revision: D3518381 fbshipit-source-id: 645c25191d5e7cff7689bd4dc583c478eba46496
This commit is contained in:
parent
637d75a990
commit
f74c74f6c5
@ -143,7 +143,6 @@ class CameraRoll {
|
|||||||
|
|
||||||
invariant(
|
invariant(
|
||||||
type === 'photo' || type === 'video' || type === undefined,
|
type === 'photo' || type === 'video' || type === undefined,
|
||||||
// $FlowFixMe(>=0.28.0)
|
|
||||||
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
|
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user