From 7b0deb1fd3c2cf3a6f3109a2246eb7488f0896b4 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 5 Mar 2026 12:51:58 -0600 Subject: [PATCH] fix: playback style migration (#26718) --- mobile/lib/utils/migration.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/lib/utils/migration.dart b/mobile/lib/utils/migration.dart index 5a212e25ad..aeed9f616e 100644 --- a/mobile/lib/utils/migration.dart +++ b/mobile/lib/utils/migration.dart @@ -417,7 +417,8 @@ Future _populateLocalAssetPlaybackStyle(Drift db) async { } final trashedAssetMap = await nativeApi.getTrashedAssets(); - for (final assets in trashedAssetMap.values) { + for (final entry in trashedAssetMap.cast>().entries) { + final assets = entry.value.cast(); await db.batch((batch) { for (final asset in assets) { batch.update(