1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix(mobile): exif not updated on sync (#17633)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-04-16 01:00:58 +05:30
committed by GitHub
parent 5bceefce75
commit 78f8e23834
2 changed files with 12 additions and 3 deletions

View File

@ -274,6 +274,15 @@ void main() {
List.filled(assets.length, null),
);
await s.upsertAssetsWithExif(assets);
verify(
() => exifInfoRepository.updateAll(
any(
that: containsAll(
assets.map((a) => a.exifInfo!.copyWith(assetId: a.id)),
),
),
),
);
expect(assets.map((a) => a.exifInfo?.assetId), assets.map((a) => a.id));
});
});