Handle photos from smart albums.

This commit is contained in:
Dylan Vann 2018-05-05 23:41:29 -04:00
parent 38192fa220
commit 243b33db76
1 changed files with 3 additions and 0 deletions

View File

@ -21,7 +21,10 @@ const useLocalImage = source => {
if (!source.uri) return true
// Is a local Android image.
if (source.uri.startsWith('file://')) return true
// Content URI.
if (source.uri.startsWith('content://')) return true
// Smart album.
if (source.uri.startsWith('photos://')) return true
// We have a remote source.
return false
}