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

fix(mobile): exifInfo not updated on sync (#17407)

* fix(mobile): exifInfo not updated on sync

* add tests

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-04-07 20:51:37 +05:30
committed by GitHub
parent 042da669d1
commit 43d585ce55
8 changed files with 148 additions and 4 deletions

View File

@ -1,3 +1,4 @@
import 'package:immich_mobile/domain/models/exif.model.dart';
import 'package:immich_mobile/entities/asset.entity.dart';
final class AssetStub {
@ -17,6 +18,7 @@ final class AssetStub {
isFavorite: true,
isArchived: false,
isTrashed: false,
exifInfo: const ExifInfo(isFlipped: false),
);
static final image2 = Asset(
@ -33,6 +35,7 @@ final class AssetStub {
isFavorite: false,
isArchived: false,
isTrashed: false,
exifInfo: const ExifInfo(isFlipped: true),
);
static final image3 = Asset(