Fixed problem with Recent (isAll) album is both in exclude and include album list at the same time

This commit is contained in:
Alex Tran
2022-07-31 21:56:41 -05:00
parent 03e7a254a2
commit f7dc916e80
2 changed files with 14 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ class BackupNotifier extends StateNotifier<BackUpState> {
}
void addExcludedAlbumForBackup(AssetPathEntity album) {
print("Excluded album: $album");
if (state.selectedBackupAlbums.contains(album)) {
removeAlbumForBackup(album);
}