mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
Update backup.provider.dart
This commit is contained in:
parent
0b02fda4e0
commit
ac2b7acef9
1 changed files with 3 additions and 2 deletions
|
@ -313,6 +313,9 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
/// Those assets are unique and are used as the total assets
|
||||
///
|
||||
Future<void> _updateBackupAssetCount() async {
|
||||
// Save to persistent storage
|
||||
await _updatePersistentAlbumsSelection();
|
||||
|
||||
final duplicatedAssetIds = await _backupService.getDuplicatedAssetIds();
|
||||
final Set<BackupCandidate> assetsFromSelectedAlbums = {};
|
||||
final Set<BackupCandidate> assetsFromExcludedAlbums = {};
|
||||
|
@ -409,8 +412,6 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
);
|
||||
}
|
||||
|
||||
// Save to persistent storage
|
||||
await _updatePersistentAlbumsSelection();
|
||||
}
|
||||
|
||||
/// Get all necessary information for calculating the available albums,
|
||||
|
|
Loading…
Reference in a new issue