mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): simplify state management in backup selection page (#5655)
* fix(mobile): simplify album selection backup state management * remove search bar' * log available albums
This commit is contained in:
parent
f7429c3615
commit
885eba2b7c
3 changed files with 47 additions and 50 deletions
|
|
@ -255,7 +255,6 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
albumMap[album.id] = album;
|
||||
}
|
||||
}
|
||||
|
||||
state = state.copyWith(availableAlbums: availableAlbums);
|
||||
|
||||
final List<BackupAlbum> excludedBackupAlbums =
|
||||
|
|
@ -295,6 +294,9 @@ class BackupNotifier extends StateNotifier<BackUpState> {
|
|||
excludedBackupAlbums: excludedAlbums,
|
||||
);
|
||||
|
||||
log.info(
|
||||
"_getBackupAlbumsInfo: Found ${availableAlbums.length} available albums",
|
||||
);
|
||||
debugPrint("_getBackupAlbumsInfo takes ${stopwatch.elapsedMilliseconds}ms");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue