mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Revert "feat(mobile): render assets on device by default (#10470)"
This reverts commit 32da9d90e4.
This commit is contained in:
parent
f23401d911
commit
1ee10ee2d6
3 changed files with 97 additions and 14 deletions
|
|
@ -24,9 +24,13 @@ class HashService {
|
|||
AssetPathEntity album, {
|
||||
int start = 0,
|
||||
int end = 0x7fffffffffffffff,
|
||||
Set<String>? excludedAssets,
|
||||
}) async {
|
||||
final entities = await album.getAssetListRange(start: start, end: end);
|
||||
return _hashAssets(entities);
|
||||
final filtered = excludedAssets == null
|
||||
? entities
|
||||
: entities.where((e) => !excludedAssets.contains(e.id)).toList();
|
||||
return _hashAssets(filtered);
|
||||
}
|
||||
|
||||
/// Converts a list of [AssetEntity]s to [Asset]s including only those
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue