Skip to content

Commit

Permalink
Corrected example (#117)
Browse files Browse the repository at this point in the history
`assetType='All'` means that videos are also included which might cause a problem since the example only uses the `<Image />` element to display the photos
  • Loading branch information
wassgha authored and hramos committed Jan 11, 2018
1 parent d59a201 commit fe3b2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cameraroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Loading images:
_handleButtonPress = () => {
CameraRoll.getPhotos({
first: 20,
assetType: 'All',
assetType: 'Photos',
})
.then(r => {
this.setState({ photos: r.edges });
Expand Down

0 comments on commit fe3b2bd

Please sign in to comment.