Skip to content

Commit 304416d

Browse files
committed
fix: remove testing change
1 parent ce1367e commit 304416d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/native-package/src/optionalDependencies/getPhotos.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const getPhotos = CameraRollDependency
8686
}
8787
const results = await CameraRollDependency.CameraRoll.getPhotos({
8888
after,
89-
assetType: 'Videos',
89+
assetType: 'All',
9090
first,
9191
include: ['fileSize', 'filename', 'imageSize', 'playableDuration'],
9292
});
@@ -113,7 +113,7 @@ export const getPhotos = CameraRollDependency
113113
);
114114
const videoUris = assetEntries
115115
.filter(({ isImage, originalUri }) => !isImage && !!originalUri)
116-
.map(({ originalUri }, index) => (index === 0 ? 'ph:///hahalolwhatisthis' : originalUri));
116+
.map(({ originalUri }) => originalUri);
117117
const videoThumbnailResults = await generateThumbnails(videoUris);
118118

119119
const assets = assetEntries.map(({ edge, isImage, originalUri, type, uri }) => {

0 commit comments

Comments
 (0)