mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
fix(mobile): device album sync (#13116)
This commit is contained in:
parent
6c7d51da34
commit
f463bd18ef
@ -507,7 +507,7 @@ class SyncService {
|
|||||||
List<Album> onDevice, [
|
List<Album> onDevice, [
|
||||||
Set<String>? excludedAssets,
|
Set<String>? excludedAssets,
|
||||||
]) async {
|
]) async {
|
||||||
onDevice.sort((a, b) => a.id.compareTo(b.id));
|
onDevice.sort((a, b) => a.localId!.compareTo(b.localId!));
|
||||||
final inDb =
|
final inDb =
|
||||||
await _albumRepository.getAll(remote: false, sortBy: AlbumSort.localId);
|
await _albumRepository.getAll(remote: false, sortBy: AlbumSort.localId);
|
||||||
final List<Asset> deleteCandidates = [];
|
final List<Asset> deleteCandidates = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user