Fix photos not showing in viewer if belonging to a dynamic collection

This commit is contained in:
Ming Ming 2024-12-16 19:56:07 +08:00
parent f4c588fd9e
commit 8e823e3b33

View file

@ -78,7 +78,9 @@ class _ContentListBody extends StatelessWidget {
.map((e) => e.file.fdId)
.toList(),
actualIndex,
collectionId: state.collection.id,
collectionId: state.collection.isDynamicCollection
? null
: state.collection.id,
),
);
},