mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Include trashed items in getMediaChanges
Process trashed items delta during incremental sync
This commit is contained in:
parent
5ddb6cd2e1
commit
55fe480cc1
9 changed files with 110 additions and 36 deletions
7
mobile/lib/platform/native_sync_api.g.dart
generated
7
mobile/lib/platform/native_sync_api.g.dart
generated
|
|
@ -41,6 +41,7 @@ class PlatformAsset {
|
|||
required this.durationInSeconds,
|
||||
required this.orientation,
|
||||
required this.isFavorite,
|
||||
required this.isTrashed,
|
||||
this.size,
|
||||
});
|
||||
|
||||
|
|
@ -64,6 +65,8 @@ class PlatformAsset {
|
|||
|
||||
bool isFavorite;
|
||||
|
||||
bool isTrashed;
|
||||
|
||||
int? size;
|
||||
|
||||
List<Object?> _toList() {
|
||||
|
|
@ -78,6 +81,7 @@ class PlatformAsset {
|
|||
durationInSeconds,
|
||||
orientation,
|
||||
isFavorite,
|
||||
isTrashed,
|
||||
size,
|
||||
];
|
||||
}
|
||||
|
|
@ -99,7 +103,8 @@ class PlatformAsset {
|
|||
durationInSeconds: result[7]! as int,
|
||||
orientation: result[8]! as int,
|
||||
isFavorite: result[9]! as bool,
|
||||
size: result[10] as int?,
|
||||
isTrashed: result[10]! as bool,
|
||||
size: result[11] as int?,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue