Merge branch 'main' into upload-to-album

This commit is contained in:
Alex
2026-05-12 21:00:28 -05:00
committed by GitHub
789 changed files with 38034 additions and 6611 deletions
@@ -392,7 +392,9 @@ class DriftRemoteAlbumRepository extends DriftDatabaseRepository {
}
Future<List<String>> getSortedAlbumIds(List<String> albumIds, {required AssetDateAggregation aggregation}) async {
if (albumIds.isEmpty) return [];
if (albumIds.isEmpty) {
return [];
}
final jsonIds = jsonEncode(albumIds);
final sqlAgg = aggregation == AssetDateAggregation.start ? 'MIN' : 'MAX';