High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: playback style migration (#26718)
Alex7b0deb1fd3c2
diff --git a/mobile/lib/utils/migration.dart b/mobile/lib/utils/migration.dartindex 5a212e25ad..aeed9f616e 100644--- a/mobile/lib/utils/migration.dart+++ b/mobile/lib/utils/migration.dart@@ -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(