mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(mobile): Issue Selecting Many Albuns for Backup (#12784)
* Update backup.provider.dart * Revert "Update backup.provider.dart" This reverts commitac2b7acef9. * Reapply "Update backup.provider.dart" This reverts commitc9fe934b3b. * dart formatting
This commit is contained in:
parent
8cd3f6b884
commit
af70111645
1 changed files with 3 additions and 3 deletions
|
|
@ -313,6 +313,9 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
||||||
/// Those assets are unique and are used as the total assets
|
/// Those assets are unique and are used as the total assets
|
||||||
///
|
///
|
||||||
Future<void> _updateBackupAssetCount() async {
|
Future<void> _updateBackupAssetCount() async {
|
||||||
|
// Save to persistent storage
|
||||||
|
await _updatePersistentAlbumsSelection();
|
||||||
|
|
||||||
final duplicatedAssetIds = await _backupService.getDuplicatedAssetIds();
|
final duplicatedAssetIds = await _backupService.getDuplicatedAssetIds();
|
||||||
final Set<BackupCandidate> assetsFromSelectedAlbums = {};
|
final Set<BackupCandidate> assetsFromSelectedAlbums = {};
|
||||||
final Set<BackupCandidate> assetsFromExcludedAlbums = {};
|
final Set<BackupCandidate> assetsFromExcludedAlbums = {};
|
||||||
|
|
@ -408,9 +411,6 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
||||||
selectedAlbumsBackupAssetsIds: selectedAlbumsBackupAssets,
|
selectedAlbumsBackupAssetsIds: selectedAlbumsBackupAssets,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save to persistent storage
|
|
||||||
await _updatePersistentAlbumsSelection();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get all necessary information for calculating the available albums,
|
/// Get all necessary information for calculating the available albums,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue