mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
RCTCameraRollManager: fix "all" photos filter
Summary: Currently, trying to fetch "all" photos will loop and never complete. Now it appears to produce the expected results (acting like the "All Photos" smart library in Photos) and doesn't loop. Confirmed console log results, showing no loops: P60994983 Reviewed By: PeteTheHeat Differential Revision: D14221545 fbshipit-source-id: 31381b1ba2c673fd210cb95f3b7d0f8ffc23ec3f
This commit is contained in:
committed by
Facebook Github Bot
parent
b13d59d901
commit
57afad1c1f
@@ -27,7 +27,7 @@
|
||||
|
||||
RCT_ENUM_CONVERTER(PHAssetCollectionSubtype, (@{
|
||||
@"album": @(PHAssetCollectionSubtypeAny),
|
||||
@"all": @(PHAssetCollectionSubtypeAny),
|
||||
@"all": @(PHAssetCollectionSubtypeSmartAlbumUserLibrary),
|
||||
@"event": @(PHAssetCollectionSubtypeAlbumSyncedEvent),
|
||||
@"faces": @(PHAssetCollectionSubtypeAlbumSyncedFaces),
|
||||
@"library": @(PHAssetCollectionSubtypeSmartAlbumUserLibrary),
|
||||
|
||||
Reference in New Issue
Block a user