mirror of
https://github.com/immich-app/immich.git
synced 2025-12-08 08:13:55 +09: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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user