mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-11 18:34:10 +00:00
parent
c0a132daec
commit
902abd4f70
@ -328,7 +328,7 @@ public class CameraRollModule extends ReactContextBaseJavaModule {
|
||||
PROJECTION,
|
||||
selection.toString(),
|
||||
selectionArgs.toArray(new String[selectionArgs.size()]),
|
||||
Images.Media.DATE_TAKEN + " DESC, " + Images.Media.DATE_MODIFIED + " DESC LIMIT " +
|
||||
Images.Media.DATE_ADDED + " DESC, " + Images.Media.DATE_MODIFIED + " DESC LIMIT " +
|
||||
(mFirst + 1)); // set LIMIT to first + 1 so that we know how to populate page_info
|
||||
if (media == null) {
|
||||
mPromise.reject(ERROR_UNABLE_TO_LOAD, "Could not get media");
|
||||
|
Loading…
x
Reference in New Issue
Block a user