mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Up mobile version and update deprecated api
This commit is contained in:
parent
62121470a8
commit
2e06be5155
5 changed files with 7 additions and 4 deletions
|
|
@ -127,7 +127,9 @@ class BackupService {
|
|||
for (int i = 0; i < albums.length; i++) {
|
||||
final AssetPathEntity? a = albums[i];
|
||||
if (a != null && a.lastModified?.isBefore(lastBackup[i]) != true) {
|
||||
result.addAll(await a.getAssetListRange(start: 0, end: a.assetCount));
|
||||
result.addAll(
|
||||
await a.getAssetListRange(start: 0, end: await a.assetCountAsync),
|
||||
);
|
||||
lastBackup[i] = now;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue