Request for files that have been updated on device

This commit is contained in:
Vishnu Mohandas 2020-12-01 13:38:19 +05:30
parent 86df0283f4
commit e743fd6f41

View file

@ -34,6 +34,10 @@ Future<List<AssetPathEntity>> _getGalleryList(
min: DateTime.fromMicrosecondsSinceEpoch(fromTime),
max: DateTime.fromMicrosecondsSinceEpoch(toTime),
);
filterOptionGroup.updateTimeCond = DateTimeCond(
min: DateTime.fromMicrosecondsSinceEpoch(fromTime),
max: DateTime.fromMicrosecondsSinceEpoch(toTime),
);
final galleryList = await PhotoManager.getAssetPathList(
hasAll: true,
type: RequestType.common,