1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-07 23:03:36 +02:00

feat: remove from album action button (#19884)

* feat: remove from album action

* feat: remove from album action
This commit is contained in:
Alex
2025-07-11 10:06:53 -05:00
committed by GitHub
parent 1cc5ca14ca
commit 2b07d7ac63
7 changed files with 109 additions and 1 deletions

View File

@ -98,6 +98,12 @@ class DriftRemoteAlbumRepository extends DriftDatabaseRepository {
}
});
}
Future<int> removeAssets(String albumId, List<String> assetIds) {
return _db.remoteAlbumAssetEntity.deleteWhere(
(tbl) => tbl.albumId.equals(albumId) & tbl.assetId.isIn(assetIds),
);
}
}
extension on RemoteAlbumEntityData {