mirror of
https://github.com/immich-app/immich.git
synced 2026-03-21 17:08:04 -04:00
fix: playback style migration (#26718)
This commit is contained in:
parent
5ab05e57fa
commit
7b0deb1fd3
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user