|
@@ -140,6 +140,9 @@ export default function Gallery(props) {
|
|
setData(data);
|
|
setData(data);
|
|
setCollections(collections);
|
|
setCollections(collections);
|
|
setCollectionAndItsLatestFile(collectionAndItsLatestFile);
|
|
setCollectionAndItsLatestFile(collectionAndItsLatestFile);
|
|
|
|
+ const favItemIds = await getFavItemIds(data);
|
|
|
|
+ setFavItemIds(favItemIds);
|
|
|
|
+
|
|
setLoading(false);
|
|
setLoading(false);
|
|
setProgress(80);
|
|
setProgress(80);
|
|
await syncWithRemote();
|
|
await syncWithRemote();
|