mirror of
https://github.com/immich-app/immich.git
synced 2026-03-12 21:42:54 -07:00
fix: playback style migration (#26718)
This commit is contained in:
@@ -417,7 +417,8 @@ Future<void> _populateLocalAssetPlaybackStyle(Drift db) async {
|
||||
}
|
||||
|
||||
final trashedAssetMap = await nativeApi.getTrashedAssets();
|
||||
for (final assets in trashedAssetMap.values) {
|
||||
for (final entry in trashedAssetMap.cast<String, List<Object?>>().entries) {
|
||||
final assets = entry.value.cast<PlatformAsset>();
|
||||
await db.batch((batch) {
|
||||
for (final asset in assets) {
|
||||
batch.update(
|
||||
|
||||
Reference in New Issue
Block a user