From fb350cd6200ea464f940a1e55ec18e1feac0cef7 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Thu, 21 Nov 2024 16:42:17 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Use=20`datetaken`=20for=20?= =?UTF-8?q?Android?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/src/provider/asset_picker_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/provider/asset_picker_provider.dart b/lib/src/provider/asset_picker_provider.dart index cb8039f7..16ec896e 100644 --- a/lib/src/provider/asset_picker_provider.dart +++ b/lib/src/provider/asset_picker_provider.dart @@ -352,7 +352,7 @@ class DefaultAssetPickerProvider )..merge(fog); } else if (fog == null && Platform.isAndroid) { options = AdvancedCustomFilter( - orderBy: [OrderByItem.desc(CustomColumns.base.createDate)], + orderBy: [OrderByItem.desc(CustomColumns.android.dateTaken)], ); } else { options = fog;