Handle assets from asset library.

This commit is contained in:
Dylan Vann 2018-05-06 02:12:08 -04:00
parent 69d6c250c9
commit 466f43f4ae
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ const useLocalImage = source => {
if (source.uri.startsWith('content://')) return true if (source.uri.startsWith('content://')) return true
// Smart album. // Smart album.
if (source.uri.startsWith('photos://')) return true 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. // We have a remote source.
return false return false
} }