Skip to content

Commit

Permalink
Handle assets from asset library.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed May 6, 2018
1 parent 69d6c25 commit 466f43f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const useLocalImage = source => {
if (source.uri.startsWith('content://')) return true
// Smart album.
if (source.uri.startsWith('photos://')) return true
// From asset library / camera roll.
if (source.uri.startsWith('assets-library://')) return true
// We have a remote source.
return false
}
Expand Down

0 comments on commit 466f43f

Please sign in to comment.