Skip to content

Commit

Permalink
Handle content urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed May 1, 2018
1 parent c2de0a7 commit 236ca3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const useLocalImage = source => {
if (!source.uri) return true
// Is a local Android image.
if (source.uri.startsWith('file://')) return true
if (source.uri.startsWith('content://')) return true
// We have a remote source.
return false
}
Expand Down

0 comments on commit 236ca3e

Please sign in to comment.